From e2e53f867209b1ae9d9923b9e042796d91677363 Mon Sep 17 00:00:00 2001 From: Charles Otto Date: Sun, 15 Nov 2009 19:00:18 -0500 Subject: Delay adjustment for sickness Store total time to recovery instead of turns in you.disease, change you.disease to an integer, update tags and bump TAG_MINOR_VERSION accordingly. --- crawl-ref/source/player.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.h') diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index 9725ba39b5..432a104731 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -59,7 +59,7 @@ public: unsigned char synch_time; // amount to wait before calling handle_time() - unsigned char disease; + int disease; char max_level; @@ -757,7 +757,7 @@ void haste_player(int turns); void dec_haste_player(int delay); bool disease_player(int amount); -void dec_disease_player(); +void dec_disease_player(int delay); bool player_weapon_wielded(); -- cgit v1.2.3-54-g00ecf