summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile1.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-14 16:48:41 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-01-14 16:48:41 +0000
commitecdff56d9ff3bba10dc8d45994c3374e02e9454d (patch)
tree305bfb9ff471b901915fdc21fd96e06113063d2f /crawl-ref/source/tile1.cc
parentb79623e1153c424d61004bb0e5a85d3bba454c98 (diff)
downloadcrawl-ref-ecdff56d9ff3bba10dc8d45994c3374e02e9454d.tar.gz
crawl-ref-ecdff56d9ff3bba10dc8d45994c3374e02e9454d.zip
Fix 1871029: really lose beogh_water_walk() upon penance
-> Beogh worshipper now will fall into water and drown Fix 1871027: no autosacrifice of restricted items (!p or rune/orb) Fix 1870495: make RAP_ANGRY actually call go_berserk() from time to time Fix 1849181: fix mimic description to match item (undetected mimic) or mimic database entry (detected mimic) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3272 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tile1.cc')
-rw-r--r--crawl-ref/source/tile1.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/tile1.cc b/crawl-ref/source/tile1.cc
index 7e5f51a304..8a02dd448e 100644
--- a/crawl-ref/source/tile1.cc
+++ b/crawl-ref/source/tile1.cc
@@ -3592,8 +3592,7 @@ void tile_place_monster(int gx, int gy, int idx, bool foreground)
int flag = t & (~TILE_FLAG_MASK);
int mon_wep = menv[idx].inv[MSLOT_WEAPON];
- if (menv[idx].type >= MONS_GOLD_MIMIC &&
- menv[idx].type <= MONS_POTION_MIMIC)
+ if (mons_is_mimic(menv[idx].type))
{
const monsters *mon = &menv[idx];
if (!mons_is_known_mimic(mon))