diff options
author | gammafunk <gammafunk@gmail.com> | 2014-06-23 20:35:58 -0500 |
---|---|---|
committer | gammafunk <gammafunk@gmail.com> | 2014-06-25 20:50:43 -0500 |
commit | 537283350429d0f8b1fcd4ccae6fa1864fa94234 (patch) | |
tree | f5b6ed755dc929b04e23d1786c3e57c9efd93c87 /crawl-ref/source/dbg-maps.cc | |
parent | 544f0ae2f541e7ba4a8040d669daa8312c028298 (diff) | |
download | crawl-ref-537283350429d0f8b1fcd4ccae6fa1864fa94234.tar.gz crawl-ref-537283350429d0f8b1fcd4ccae6fa1864fa94234.zip |
Fix objstats for rods, misc. items, corpseless monsters, and mimics
Display the correct properties for the first two, and report 0
chunks/nutrition for monsters that don't leave a corpse. Mimics are
now revealed after the level is generated so that the mimic monster is
created, and we don't count the mimic items towards item statistics.
Diffstat (limited to 'crawl-ref/source/dbg-maps.cc')
-rw-r--r-- | crawl-ref/source/dbg-maps.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/dbg-maps.cc b/crawl-ref/source/dbg-maps.cc index c3d92a3c4f..2bf2b44456 100644 --- a/crawl-ref/source/dbg-maps.cc +++ b/crawl-ref/source/dbg-maps.cc @@ -101,6 +101,9 @@ static bool _do_build_level() default: break; } + // Turn any mimics into actual monsters so they'll be recorded + // by objstat. + discover_mimic(coord_def(x, y), false); } { |