summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 3687e1711c..5895a0c542 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -2390,6 +2390,13 @@ bool ms_waste_of_time( const monsters *mon, spell_type monspell )
// handled here as well. - bwr
switch (monspell)
{
+ case SPELL_CALL_TIDE:
+ return (!player_in_branch(BRANCH_SHOALS)
+ || mon->has_ench(ENCH_TIDE)
+ || !foe
+ || (grd(mon->pos()) == DNGN_DEEP_WATER
+ && grd(foe->pos()) == DNGN_DEEP_WATER));
+
case SPELL_BRAIN_FEED:
ret = (foe != &you);
break;