summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dbg-util.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-06-09 12:38:46 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-06-09 12:48:20 +0200
commitbc69ec7aa12136be619e079506e37f48d473699d (patch)
treee943084913bb2c902f4b067795b4a56898073ac6 /crawl-ref/source/dbg-util.cc
parentd78cc4cf0831922a137983eaa076743fabcdea8b (diff)
downloadcrawl-ref-bc69ec7aa12136be619e079506e37f48d473699d.tar.gz
crawl-ref-bc69ec7aa12136be619e079506e37f48d473699d.zip
Reverse the argument of get_monster_by_name().
The default, substring match, was totally unintuitive and broken. Only one place is actually changed, something about shapeshifters.
Diffstat (limited to 'crawl-ref/source/dbg-util.cc')
-rw-r--r--crawl-ref/source/dbg-util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dbg-util.cc b/crawl-ref/source/dbg-util.cc
index 0ae0742fc9..1f1c15db2c 100644
--- a/crawl-ref/source/dbg-util.cc
+++ b/crawl-ref/source/dbg-util.cc
@@ -34,7 +34,7 @@ monster_type debug_prompt_for_monster(void)
if (specs[0] == '\0')
return MONS_NO_MONSTER;
- return get_monster_by_name(specs);
+ return get_monster_by_name(specs, true);
}
return MONS_NO_MONSTER;
}