diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-20 21:39:04 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-20 21:39:04 +0000 |
commit | 15c1ed6a82bb52f42dc53e1d716e66dc8a257b96 (patch) | |
tree | 13e400d51fb2ba9662cd599778794f1904986572 /crawl-ref/source/player.cc | |
parent | 17c9dbde2c1c661099399df48d7754c2e267ae8f (diff) | |
download | crawl-ref-15c1ed6a82bb52f42dc53e1d716e66dc8a257b96.tar.gz crawl-ref-15c1ed6a82bb52f42dc53e1d716e66dc8a257b96.zip |
Add minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8631 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7893590e4e..c2f6251fd3 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -7000,7 +7000,7 @@ void player::rot(actor *who, int amount, int immediate) if (res_rotting() > 0 || amount <= 0) return; - if (immediate) + if (immediate > 0) rot_hp(immediate); if (one_chance_in(4)) |