summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-tornado.cc
diff options
context:
space:
mode:
authorelliptic <hyperelliptical@gmail.com>2012-11-10 12:01:53 -0500
committerelliptic <hyperelliptical@gmail.com>2012-11-10 12:20:02 -0500
commit48a7ff256c9cc2dd5e9544a9f9967c27b5378d15 (patch)
treef0a900fa5fbcf7930659238747407ba25c9691e4 /crawl-ref/source/spl-tornado.cc
parenteff5e87c31d5ca9a2b443953467342cff48ae35a (diff)
downloadcrawl-ref-48a7ff256c9cc2dd5e9544a9f9967c27b5378d15.tar.gz
crawl-ref-48a7ff256c9cc2dd5e9544a9f9967c27b5378d15.zip
Fix tengu EV not getting updated on changes in flight status.
Diffstat (limited to 'crawl-ref/source/spl-tornado.cc')
-rw-r--r--crawl-ref/source/spl-tornado.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-tornado.cc b/crawl-ref/source/spl-tornado.cc
index a48c130824..2b33dbff28 100644
--- a/crawl-ref/source/spl-tornado.cc
+++ b/crawl-ref/source/spl-tornado.cc
@@ -138,6 +138,8 @@ spret_type cast_tornado(int powc, bool fail)
you.props["tornado_since"].get_int() = you.elapsed_time;
_set_tornado_durations(powc);
+ if (you.species == SP_TENGU)
+ you.redraw_evasion = true;
return SPRET_SUCCESS;
}
@@ -443,6 +445,8 @@ void cancel_tornado(bool tloc)
{
you.duration[DUR_FLIGHT] = 0;
you.attribute[ATTR_FLIGHT_UNCANCELLABLE] = 0;
+ if (you.species == SP_TENGU)
+ you.redraw_evasion = true;
// NO checking for water, since this is called only during level
// change, and being, say, banished from above water shouldn't
// kill you.