summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 10:32:10 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 10:32:10 +0000
commit843b0034d812492266b0aa07c812b9f54890feaa (patch)
tree96908c38b61be7b7c43cbcee82e50841f620a716 /crawl-ref/source/initfile.cc
parent5e3c0308b4efb39a41b21d37e8648c8b2fae248d (diff)
downloadcrawl-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/initfile.cc')
-rw-r--r--crawl-ref/source/initfile.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/initfile.cc b/crawl-ref/source/initfile.cc
index f00b30b004..cdd7ef9164 100644
--- a/crawl-ref/source/initfile.cc
+++ b/crawl-ref/source/initfile.cc
@@ -431,7 +431,8 @@ void game_options::set_default_activity_interrupts()
"interrupt_passwall = interrupt_butcher",
"interrupt_multidrop = interrupt_butcher",
"interrupt_macro = interrupt_multidrop",
- "interrupt_travel = interrupt_butcher, statue, hungry, burden, monster",
+ "interrupt_travel = interrupt_butcher, statue, hungry, "
+ "burden, monster, hit_monster",
"interrupt_run = interrupt_travel, message",
"interrupt_rest = interrupt_run",