summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-08-03 03:47:15 -0400
committerJesse Luehrs <doy@tozt.net>2014-08-03 03:51:09 -0400
commitbbd355796b5504fc9707b4a487ff4a9658e403f4 (patch)
tree21bf639ccb4e4e1ae29e9d19120b214b20e60252 /crawl-ref/source/mon-util.cc
parent3d3ccab80ed0cc684d3c42807cc1a24701bfe2d0 (diff)
downloadcrawl-ref-bbd355796b5504fc9707b4a487ff4a9658e403f4.tar.gz
crawl-ref-bbd355796b5504fc9707b4a487ff4a9658e403f4.zip
allow recalling fish (2370)
There are already checks later on during the recall process (in _try_recall) that make sure they aren't recalled onto non-habitable tiles, so there's no need to ban them from recalling at the start.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index cc219122be..026c8542d4 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -4830,8 +4830,7 @@ bool mons_is_recallable(actor* caller, monster* targ)
return targ->alive()
&& !mons_class_is_stationary(targ->type)
- && !mons_is_conjured(targ->type)
- && monster_habitable_grid(targ, DNGN_FLOOR); //XXX?
+ && !mons_is_conjured(targ->type);
}
vector<monster* > get_on_level_followers()