summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilepick.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-20 19:50:18 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-09-20 19:50:18 +0000
commitcb57dfea1ea5e58d45f8f1d4378369bdaf975fe5 (patch)
tree24f6b63381415029b59b676329ddeec1e9f341dd /crawl-ref/source/tilepick.cc
parentbf3897048c960a93d6bc1485b32060868c955da1 (diff)
downloadcrawl-ref-cb57dfea1ea5e58d45f8f1d4378369bdaf975fe5.tar.gz
crawl-ref-cb57dfea1ea5e58d45f8f1d4378369bdaf975fe5.zip
* Fix wizmode autoexplore (used for debugging) not nuking traps, as it
claimed to do. * Fix post-berserk exhaustion not cancelling haste if not wearing the "RS. * Update change log. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10752 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tilepick.cc')
-rw-r--r--crawl-ref/source/tilepick.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/tilepick.cc b/crawl-ref/source/tilepick.cc
index 91f8c9946b..66bdd74145 100644
--- a/crawl-ref/source/tilepick.cc
+++ b/crawl-ref/source/tilepick.cc
@@ -711,6 +711,7 @@ int tileidx_monster_base(const monsters *mon, bool detected)
case MONS_KRAKEN:
return TILEP_MONS_KRAKEN_HEAD;
case MONS_KRAKEN_TENTACLE:
+ // Pick a random tentacle tile.
return TILEP_MONS_KRAKEN_TENTACLE
+ random2(tile_player_count(TILEP_MONS_KRAKEN_TENTACLE));