summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/traps.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-30 15:53:09 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-30 15:53:09 +0000
commite2179589b89a1d9786aa3111286af81878d21219 (patch)
treedcde637281ec374d339bf6cbc5012176e9b3f269 /crawl-ref/source/traps.cc
parent19bba5a5ec358bc8821bc3118add964ff303f7a9 (diff)
downloadcrawl-ref-e2179589b89a1d9786aa3111286af81878d21219.tar.gz
crawl-ref-e2179589b89a1d9786aa3111286af81878d21219.zip
Introducing shortcut for searching the current level as
requested in FR 1801705. Also adding feedback when auto-travel fails to kick in. And trying to get out of a net no longer stops travel, only being caught in one does (FR 1800821). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2263 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/traps.cc')
-rw-r--r--crawl-ref/source/traps.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/traps.cc b/crawl-ref/source/traps.cc
index 8f08fce842..0cff14c334 100644
--- a/crawl-ref/source/traps.cc
+++ b/crawl-ref/source/traps.cc
@@ -158,7 +158,8 @@ void player_caught_in_net()
{
you.attribute[ATTR_HELD] = 10;
mpr("You become entangled in the net!");
-
+ stop_running();
+
// I guess levitation works differently, keeping both you
// and the net hovering above the floor
if (you.flies() == FL_FLY)