summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-util.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-01 01:16:43 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-01 01:16:43 +0530
commit60c15d1dff03922dc62d71690667e5f36f4137a8 (patch)
tree428edfe274157d8db8787b8b691a28c0581b185d /crawl-ref/source/mon-util.cc
parent1f798f3b7b0b7f840b927a9f53614638d704998f (diff)
downloadcrawl-ref-60c15d1dff03922dc62d71690667e5f36f4137a8.tar.gz
crawl-ref-60c15d1dff03922dc62d71690667e5f36f4137a8.zip
Don't allow kraken tentacles to use stairs.
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r--crawl-ref/source/mon-util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc
index 008ce07a2c..3a97113c39 100644
--- a/crawl-ref/source/mon-util.cc
+++ b/crawl-ref/source/mon-util.cc
@@ -947,7 +947,8 @@ bool mons_can_be_zombified(const monsters *mon)
bool mons_class_can_use_stairs(int mc)
{
- return (!mons_class_is_zombified(mc) || mc == MONS_SPECTRAL_THING);
+ return ((!mons_class_is_zombified(mc) || mc == MONS_SPECTRAL_THING)
+ && mc != MONS_KRAKEN_TENTACLE);
}
bool mons_can_use_stairs(const monsters *mon)