From fcf40880a3a0b32d7b83de8e391e0880ab955826 Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 18 Mar 2008 17:34:38 +0000 Subject: Remove erroneous check for being undead in player::rot(), as rot_player() does it properly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3706 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/player.cc | 3 --- 1 file changed, 3 deletions(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 5c59b42fcc..3342804a75 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6172,9 +6172,6 @@ void player::drain_stat(int stat, int amount, actor* attacker) void player::rot(actor *who, int rotlevel, int immed_rot) { - if (is_undead) - return; - if (rotlevel) rot_player( rotlevel ); -- cgit v1.2.3-54-g00ecf