diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-18 17:34:38 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-18 17:34:38 +0000 |
commit | fcf40880a3a0b32d7b83de8e391e0880ab955826 (patch) | |
tree | 53f327b9be5f1a0176c16a8b05be30129dfb6c91 | |
parent | bb408945e16cd6d5142acb450141d6e38ecd0816 (diff) | |
download | crawl-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
-rw-r--r-- | crawl-ref/source/player.cc | 3 |
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 ); |