diff options
author | Neil Moore <neil@s-z.org> | 2014-03-07 23:51:48 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-03-07 23:51:48 -0500 |
commit | c3ea3b707afa11309dfc91b1f994ffc55041be02 (patch) | |
tree | 102e7f3a68bdfd465c568070b6822913e8b4d9c5 /crawl-ref/source/fight.cc | |
parent | c20c04649c1b7a875aad18830b5ade77fa8dc339 (diff) | |
download | crawl-ref-c3ea3b707afa11309dfc91b1f994ffc55041be02.tar.gz crawl-ref-c3ea3b707afa11309dfc91b1f994ffc55041be02.zip |
Formatting fixes.
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 29e7c53bac..27689987fe 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -421,9 +421,7 @@ stab_type find_stab_type(const actor *attacker, // the attacker can't see (either due to invisibility or being behind // opaque clouds). if (defender->cannot_fight() || (attacker && !attacker->can_see(defender))) - { return unchivalric; - } // Distracted (but not batty); this only applies to players. if (attacker && attacker->is_player() @@ -438,9 +436,7 @@ stab_type find_stab_type(const actor *attacker, // allies if (def && def->friendly()) - { unchivalric = STAB_ALLY; - } // fleeing if (def && mons_is_fleeing(def)) |