summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-05 10:56:46 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-05 10:56:46 +0000
commit85699d8241f73ca404e215fac0e6e1883ee7fcdf (patch)
tree95595c1f22cae5bfc48d022317d61d5c769b4251 /crawl-ref/source/command.cc
parentf847b239329f96f86df53a98b8675e1fc818e7b4 (diff)
downloadcrawl-ref-85699d8241f73ca404e215fac0e6e1883ee7fcdf.tar.gz
crawl-ref-85699d8241f73ca404e215fac0e6e1883ee7fcdf.zip
Fix [2664479]: handle monster lookups from ?/M better.
Handle mimics better. Note that the monster pane will unify two mimics if you see both at once; I think this is not because of what I just changed but it might be. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9336 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 5bd032902b..605c6de968 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1316,8 +1316,7 @@ static bool _do_description(std::string key, std::string type,
else
mon.base_monster = MONS_PROGRAM_BUG;
- const monsters m = mon;
- describe_monsters(m);
+ describe_monsters(mon, true);
return (false);
}
else