summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/enum.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-16 13:14:09 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-16 13:14:09 +0000
commit78a45dd9099c4340a9aec9d634d3ef91bab181ac (patch)
tree3ff8e7ff42e66524b89fbfa0a163a106a9655247 /crawl-ref/source/enum.h
parent263a61728d25f53837389fcf1c333eebd78c535b (diff)
downloadcrawl-ref-78a45dd9099c4340a9aec9d634d3ef91bab181ac.tar.gz
crawl-ref-78a45dd9099c4340a9aec9d634d3ef91bab181ac.zip
Fix [2004960]: clean up sanctuary logic. Monsters will now stop fleeing
and attack you if you step outside of sanctuary; also, they can acquire and chase new targets while still respecting sanctuary. Hopefully non-buggy. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9100 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r--crawl-ref/source/enum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h
index aedfa39668..9c298c19e4 100644
--- a/crawl-ref/source/enum.h
+++ b/crawl-ref/source/enum.h
@@ -2109,7 +2109,8 @@ enum monster_flag_type
MF_NAME_REPLACE = 0x30000, // mname entirely replaces normal monster
// name.
MF_NAME_MASK = 0x30000,
- MF_GOD_GIFT = 0x40000 // Is a god gift.
+ MF_GOD_GIFT = 0x40000, // Is a god gift.
+ MF_FLEEING_FROM_SANCTUARY = 0x80000 // Is running away from player sanctuary
};
// Adding slots breaks saves. YHBW.