diff options
author | Charles Otto <ottochar@gmail.com> | 2009-11-15 19:00:18 -0500 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-11-15 23:46:54 -0500 |
commit | e2e53f867209b1ae9d9923b9e042796d91677363 (patch) | |
tree | 126873d4aad5dcff299719c42b9462ee1c6d807e /crawl-ref/source/player.h | |
parent | ec62dd87b6bbe338aa50dc503db2f999c2d352c3 (diff) | |
download | crawl-ref-e2e53f867209b1ae9d9923b9e042796d91677363.tar.gz crawl-ref-e2e53f867209b1ae9d9923b9e042796d91677363.zip |
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.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |