diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-30 00:35:33 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-30 00:36:59 +0530 |
commit | 884a020ab85f131212638b07913f9ec749c9ecb2 (patch) | |
tree | 97c930f2ee6c5aa110fe0b36ba0ca1d8923fd029 /crawl-ref/source/mon-cast.cc | |
parent | 0822d05b5a0597c3521a9440997e37b217b2cdb0 (diff) | |
download | crawl-ref-884a020ab85f131212638b07913f9ec749c9ecb2.tar.gz crawl-ref-884a020ab85f131212638b07913f9ec749c9ecb2.zip |
More call tide fixes: don't flash view if Ilsuiw is not in LOS, apply tide reset even if the player is not messaged about it.
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r-- | crawl-ref/source/mon-cast.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc index 895466f322..fb9b5092d4 100644 --- a/crawl-ref/source/mon-cast.cc +++ b/crawl-ref/source/mon-cast.cc @@ -1686,9 +1686,12 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast, monster->add_ench(mon_enchant(ENCH_TIDE, 0, KC_OTHER, tide_duration * 10)); monster->props[TIDE_CALL_TURN] = you.num_turns; - simple_monster_message(monster, - " sings a water chant to call the tide!"); - flash_view_delay(ETC_WATER, 300); + if (simple_monster_message( + monster, + " sings a water chant to call the tide!")) + { + flash_view_delay(ETC_WATER, 300); + } } return; |