summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.");