From 843b0034d812492266b0aa07c812b9f54890feaa Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 9 Jan 2007 10:32:10 +0000 Subject: 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 --- crawl-ref/source/enum.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/enum.h') 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 -- cgit v1.2.3-54-g00ecf