diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-14 22:55:33 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-15 01:20:33 -0800 |
commit | 421babd7402fc7f030768062ad66227d8bd220d0 (patch) | |
tree | 37d4dc9f75b909e003baaf609062e12bb3567dc6 /crawl-ref/source/monster.cc | |
parent | 497913340c6d5ba0c22174b94334e5be07801e79 (diff) | |
download | crawl-ref-421babd7402fc7f030768062ad66227d8bd220d0.tar.gz crawl-ref-421babd7402fc7f030768062ad66227d8bd220d0.zip |
Fix some arena asserts.
Diffstat (limited to 'crawl-ref/source/monster.cc')
-rw-r--r-- | crawl-ref/source/monster.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc index c8f0b8fa7f..8f8df5b8b0 100644 --- a/crawl-ref/source/monster.cc +++ b/crawl-ref/source/monster.cc @@ -55,6 +55,8 @@ monsters::monsters() seen_context(""), props() { travel_path.clear(); + if (crawl_state.arena) + foe = MHITNOT; } // Empty destructor to keep auto_ptr happy with incomplete ghost_demon type. |