diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 20:14:35 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-06 20:14:35 +0000 |
commit | 44d7fbb36c55859117824fe25a298afbe437221b (patch) | |
tree | 8854c7d492879cb8ddda79ca91f44d964c5828a9 /crawl-ref/source/player.h | |
parent | b847d4bad842066f8721cf68650d5087528e8486 (diff) | |
download | crawl-ref-44d7fbb36c55859117824fe25a298afbe437221b.tar.gz crawl-ref-44d7fbb36c55859117824fe25a298afbe437221b.zip |
Fix 1870427: Max hp misreported if frail and rotted.
Fix 2002931: feature_item_brand not working
No, it's not the important bugs, but at least these are bugs I can
reproduce. :P
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6433 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r-- | crawl-ref/source/player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h index a00dd66937..a1bd79ac52 100644 --- a/crawl-ref/source/player.h +++ b/crawl-ref/source/player.h @@ -398,6 +398,7 @@ void deflate_hp(int new_level, bool floor); * *********************************************************************** */ void set_hp(int new_amount, bool max_too); +int get_real_hp(bool trans, bool rotted = false); /* *********************************************************************** * called from: it_use3 - newgame |