summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-16 10:13:56 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-03-16 10:13:56 +0000
commit97c0fc8f41703b81fe48a1323db8ad07b231cef0 (patch)
tree75c066c66140b605ba41e30c09c2234b1a7e3407
parent53ee7c6f332b5c316785d1ca5826376742fc9974 (diff)
downloadcrawl-ref-97c0fc8f41703b81fe48a1323db8ad07b231cef0.tar.gz
crawl-ref-97c0fc8f41703b81fe48a1323db8ad07b231cef0.zip
Wizmode &M typo should not produce annoying program bugs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1048 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index bca8987829..9f32e14913 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -608,7 +608,7 @@ void create_spec_monster_name(int x, int y)
{
int mon = debug_prompt_for_monster();
- if (mon == -1)
+ if (mon == -1 || mon == MONS_PROGRAM_BUG)
{
mpr("I couldn't find that monster.");