From ecdff56d9ff3bba10dc8d45994c3374e02e9454d Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 14 Jan 2008 16:48:41 +0000 Subject: 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 --- crawl-ref/source/tile1.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crawl-ref/source/tile1.cc') 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)) -- cgit v1.2.3-54-g00ecf