summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-18 17:34:38 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-18 17:34:38 +0000
commitfcf40880a3a0b32d7b83de8e391e0880ab955826 (patch)
tree53f327b9be5f1a0176c16a8b05be30129dfb6c91 /crawl-ref/source/player.cc
parentbb408945e16cd6d5142acb450141d6e38ecd0816 (diff)
downloadcrawl-ref-fcf40880a3a0b32d7b83de8e391e0880ab955826.tar.gz
crawl-ref-fcf40880a3a0b32d7b83de8e391e0880ab955826.zip
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
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc3
1 files changed, 0 insertions, 3 deletions
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 );