diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-05-30 10:32:39 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-05-30 10:32:39 +0100 |
commit | a39a4d95c56a065a5b09be32a9ecd7cb9a757271 (patch) | |
tree | bee7233a7f11e5697f3f23b34572793579ee095b /crawl-ref/source/tileweb.cc | |
parent | a43ddea76592f08ee1189ef7bdda42d2f1be4aff (diff) | |
download | crawl-ref-a39a4d95c56a065a5b09be32a9ecd7cb9a757271.tar.gz crawl-ref-a39a4d95c56a065a5b09be32a9ecd7cb9a757271.zip |
Send contam/temperature to webtiles client for Djinn/Lava Orc
Diffstat (limited to 'crawl-ref/source/tileweb.cc')
-rw-r--r-- | crawl-ref/source/tileweb.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/tileweb.cc b/crawl-ref/source/tileweb.cc index 8390b0b105..3a5ca3752b 100644 --- a/crawl-ref/source/tileweb.cc +++ b/crawl-ref/source/tileweb.cc @@ -636,10 +636,15 @@ void TilesFramework::_send_player(bool force_full) _update_int(force_full, c.hp, you.hp, "hp"); _update_int(force_full, c.hp_max, you.hp_max, "hp_max"); _update_int(force_full, c.real_hp_max, get_real_hp(true, true), "real_hp_max"); - _update_int(force_full, c.mp, you.magic_points, "mp"); _update_int(force_full, c.mp_max, you.max_magic_points, "mp_max"); + if (you.species == SP_DJINNI) + _update_int(force_full, c.contam, you.magic_contamination, "contam"); + + if (you.species == SP_LAVA_ORC) + _update_int(force_full, c.heat, you.temperature, "heat"); + _update_int(force_full, c.armour_class, you.armour_class(), "ac"); _update_int(force_full, c.evasion, player_evasion(), "ev"); _update_int(force_full, c.shield_class, player_shield_class(), "sh"); |