diff options
author | DracoOmega <draco_omega@live.com> | 2014-01-17 14:43:01 -0330 |
---|---|---|
committer | DracoOmega <draco_omega@live.com> | 2014-01-18 00:17:05 -0330 |
commit | 99368b90bd8da7ae8cd1e3159c7696a9c18033c6 (patch) | |
tree | 8c0fe787fc1c2378c8d11574164ea6b886a9cb6a /crawl-ref/source/wiz-mon.cc | |
parent | 622d1973ab1069c586f64edb6cf6616ae1c8377e (diff) | |
download | crawl-ref-99368b90bd8da7ae8cd1e3159c7696a9c18033c6.tar.gz crawl-ref-99368b90bd8da7ae8cd1e3159c7696a9c18033c6.zip |
Remove apparently unused BEH_PANIC
While several parts of code checked if a monster WAS 'panicking' (described
in a comment as 'fleeing without running away'), it was never actually
possible for a monster to enter this state, nor did there seem to be any
behavioral code associated with being in it. The flee-based behavioral
code is convoluted enough already without mysterious unused things cluttering
it up, so I have pruned it.
(Hopefully I am not overlooking anything)
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r-- | crawl-ref/source/wiz-mon.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc index 7eb3c65468..6476835b0c 100644 --- a/crawl-ref/source/wiz-mon.cc +++ b/crawl-ref/source/wiz-mon.cc @@ -629,7 +629,6 @@ void debug_stethoscope(int mon) : mons_is_fleeing(&mons) ? "flee" : mons_is_retreating(&mons) ? "retreat" : mons_is_cornered(&mons) ? "cornered" - : mons_is_panicking(&mons) ? "panic" : mons_is_lurking(&mons) ? "lurk" : mons.behaviour == BEH_WITHDRAW ? "withdraw" : "unknown", |