summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-tornado.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-07-14 12:29:57 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-07-17 00:34:44 +0200
commite374ce6a17943cc7eb2623b2ac3d1d865f4297a4 (patch)
tree472ae7b7fff93d787c57ffe4eadc3392fc36b42e /crawl-ref/source/spl-tornado.cc
parentb3939d1ff62b5cb6083e0ca4fad491fcba77401f (diff)
downloadcrawl-ref-e374ce6a17943cc7eb2623b2ac3d1d865f4297a4.tar.gz
crawl-ref-e374ce6a17943cc7eb2623b2ac3d1d865f4297a4.zip
Tornado: clear the cooldown when taking stairs.
It's hard to explain the need for "winds to calm down" if the winds were left on the other level. Climbing stairs back and worth takes long enough to prevent that abuse, or at least make it miniscule when pulling a number of monsters with you (Vaults:8).
Diffstat (limited to 'crawl-ref/source/spl-tornado.cc')
-rw-r--r--crawl-ref/source/spl-tornado.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-tornado.cc b/crawl-ref/source/spl-tornado.cc
index fcc6d00517..562cba1e57 100644
--- a/crawl-ref/source/spl-tornado.cc
+++ b/crawl-ref/source/spl-tornado.cc
@@ -428,4 +428,5 @@ void cancel_tornado()
// kill you.
}
you.duration[DUR_TORNADO] = 0;
+ you.duration[DUR_TORNADO_COOLDOWN] = 0;
}