summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-flags.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2014-01-14 03:04:02 +0100
committerAdam Borowski <kilobyte@angband.pl>2014-01-14 03:04:37 +0100
commit4d15e7dfc1c0eee85b8330fc77f1a293f9e22094 (patch)
tree9d9ab28034afc601ee85c61243f6da7a255f065d /crawl-ref/source/mon-flags.h
parentad30c03063ba2b0b3438cdca9a316f9b5192f0c9 (diff)
downloadcrawl-ref-4d15e7dfc1c0eee85b8330fc77f1a293f9e22094.tar.gz
crawl-ref-4d15e7dfc1c0eee85b8330fc77f1a293f9e22094.zip
Use a bit flag rather than allocating a prop for every single monster.
Also, go through a number of checks just once.
Diffstat (limited to 'crawl-ref/source/mon-flags.h')
-rw-r--r--crawl-ref/source/mon-flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-flags.h b/crawl-ref/source/mon-flags.h
index 68a860cc5a..ec0bdc7888 100644
--- a/crawl-ref/source/mon-flags.h
+++ b/crawl-ref/source/mon-flags.h
@@ -236,4 +236,5 @@ const uint64_t MF_SEEN_RANGED = BIT(35); // known to have a ranged attack
const uint64_t MF_POLYMORPHED = BIT(36); // this monster has been polymorphed.
const uint64_t MF_JUST_SLEPT = BIT(37); // just got hibernated/slept
+const uint64_t MF_TSO_SEEN = BIT(38); // possibly got piety with TSO
#endif