summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-poly.cc
diff options
context:
space:
mode:
authorShmuale Mark <shm.mark@gmail.com>2014-07-04 12:28:41 -0400
committerShmuale Mark <shm.mark@gmail.com>2014-07-04 12:30:06 -0400
commitaca7260646bd97f8346007c3a0dd80cc19442a67 (patch)
treef2accbc3abf210e51164a401747a12cc7c0c5580 /crawl-ref/source/mon-poly.cc
parent0556778dcb5a45df7acc9d40ade0de40919873b9 (diff)
downloadcrawl-ref-aca7260646bd97f8346007c3a0dd80cc19442a67.tar.gz
crawl-ref-aca7260646bd97f8346007c3a0dd80cc19442a67.zip
Combine key names, symbolise.
Diffstat (limited to 'crawl-ref/source/mon-poly.cc')
-rw-r--r--crawl-ref/source/mon-poly.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-poly.cc b/crawl-ref/source/mon-poly.cc
index 03f2267c39..ab0fc9a8f3 100644
--- a/crawl-ref/source/mon-poly.cc
+++ b/crawl-ref/source/mon-poly.cc
@@ -8,6 +8,7 @@
#include "artefact.h"
#include "attitude-change.h"
+#include "butcher.h"
#include "delay.h"
#include "describe.h"
#include "dgn-overview.h"
@@ -356,7 +357,7 @@ void change_monster_type(monster* mons, monster_type targetc)
mons->props.erase("speech_prefix");
// Don't allow polymorphing monsters for hides.
- mons->props["no_hide"] = true;
+ mons->props[NEVER_HIDE_KEY] = true;
// Keep spells for named monsters, but don't override innate ones
// for dragons and the like. This means that Sigmund polymorphed