From 0b01405b8673b0f1ba4ce38f131210d9073c3cf6 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Sat, 5 Dec 2009 22:41:11 +0100 Subject: Fix player::rot(0, x) not rotting maxhp (#119). --- crawl-ref/source/player.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/player.cc') diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 3f43ea3bdd..3f01f0b354 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6680,7 +6680,7 @@ bool player::rot(actor *who, int amount, int immediate, bool quiet) { ASSERT(!crawl_state.arena); - if (amount <= 0) + if (amount <= 0 && immediate <= 0) return (false); if (res_rotting()) -- cgit v1.2.3-54-g00ecf