summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godconduct.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-20 03:43:34 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-20 03:43:34 +0200
commit3c9610e3a0037c99a7a884070fca015df06a572e (patch)
tree4e84d322266699b3d1934fc0c64226017bee8a94 /crawl-ref/source/godconduct.cc
parent71296b4449860aff4f6ac29b8467f9c6ff5e4b4f (diff)
downloadcrawl-ref-3c9610e3a0037c99a7a884070fca015df06a572e.tar.gz
crawl-ref-3c9610e3a0037c99a7a884070fca015df06a572e.zip
Drop pointless braces after else/else if as well.
Diffstat (limited to 'crawl-ref/source/godconduct.cc')
-rw-r--r--crawl-ref/source/godconduct.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/godconduct.cc b/crawl-ref/source/godconduct.cc
index dd3b4ce1e7..d375b51cb5 100644
--- a/crawl-ref/source/godconduct.cc
+++ b/crawl-ref/source/godconduct.cc
@@ -1122,9 +1122,7 @@ void set_attack_conducts(god_conduct_trigger conduct[3], const monster* mon,
}
}
else if (mon->neutral())
- {
conduct[0].set(DID_ATTACK_NEUTRAL, 5, known, mon);
- }
if (is_unchivalric_attack(&you, mon)
&& (_first_attack_conduct[midx]