diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 10:32:10 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 10:32:10 +0000 |
commit | 843b0034d812492266b0aa07c812b9f54890feaa (patch) | |
tree | 96908c38b61be7b7c43cbcee82e50841f620a716 /crawl-ref/source/enum.h | |
parent | 5e3c0308b4efb39a41b21d37e8648c8b2fae248d (diff) | |
download | crawl-ref-843b0034d812492266b0aa07c812b9f54890feaa.tar.gz crawl-ref-843b0034d812492266b0aa07c812b9f54890feaa.zip |
Tweaked travel/explore so that it doesn't cut off before trying to move to a
square with an invisible monster/mimic. Travel now cuts off when the PC
attempts to attack the invisible monster.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@813 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 29db359ba7..76f0763b15 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -153,6 +153,8 @@ enum activity_interrupt_type AI_SEE_MONSTER, AI_MONSTER_ATTACKS, AI_TELEPORT, + AI_HIT_MONSTER, // Player hit monster (invis or + // mimic) during travel/explore. // Always the last. NUM_AINTERRUPTS |