summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileweb.h
diff options
context:
space:
mode:
authorgammafunk <gammafunk@gmail.com>2014-03-17 20:11:48 -0500
committergammafunk <gammafunk@gmail.com>2014-03-18 00:16:40 -0500
commitfbd6e7ded89bf1ad2ebe2393fe0c11dd2e298bd0 (patch)
tree4efa7e709f63b913cd403c565ee8042cb2fd0747 /crawl-ref/source/tileweb.h
parenta5c58e37d87fdacdbe7fb0cc319b36a3cd57a6cb (diff)
downloadcrawl-ref-fbd6e7ded89bf1ad2ebe2393fe0c11dd2e298bd0.tar.gz
crawl-ref-fbd6e7ded89bf1ad2ebe2393fe0c11dd2e298bd0.zip
Make the hp bar show the deterministic poison in WebTiles
This adds an yellow hp poison bar to the WebTiles display ("stats_hp_bar_poison") that's show when the player is poisoned and their calculated hp after poison expires is lower than their current hp.
Diffstat (limited to 'crawl-ref/source/tileweb.h')
-rw-r--r--crawl-ref/source/tileweb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tileweb.h b/crawl-ref/source/tileweb.h
index 56f23da722..2ada4b9eb6 100644
--- a/crawl-ref/source/tileweb.h
+++ b/crawl-ref/source/tileweb.h
@@ -47,7 +47,7 @@ struct player_info
uint8_t form;
- int hp, hp_max, real_hp_max;
+ int hp, hp_max, real_hp_max, poison_survival;
int mp, mp_max;
int contam;
int heat;