summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileweb.cc
diff options
context:
space:
mode:
authorwheals <shm.mark@gmail.com>2014-02-12 18:59:28 -0500
committerShmuale Mark <shm.mark@gmail.com>2014-02-24 23:50:41 -0500
commit474977d740c070c7240df71e69437b8c955fe5b0 (patch)
treec29b2dadefb3b01367e3689c3ee35705edc25a53 /crawl-ref/source/tileweb.cc
parent2228498b1c13e8181272757c7e3971bbce30689c (diff)
downloadcrawl-ref-474977d740c070c7240df71e69437b8c955fe5b0.tar.gz
crawl-ref-474977d740c070c7240df71e69437b8c955fe5b0.zip
Remove djinn.
Djinn games can't be started (hopefully including using the rcfile), and djinn code should be removed on save-compat bump. Also, schedule a few SE things to be removed.
Diffstat (limited to 'crawl-ref/source/tileweb.cc')
-rw-r--r--crawl-ref/source/tileweb.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/crawl-ref/source/tileweb.cc b/crawl-ref/source/tileweb.cc
index 3b689f184a..533fb1cd82 100644
--- a/crawl-ref/source/tileweb.cc
+++ b/crawl-ref/source/tileweb.cc
@@ -698,8 +698,10 @@ 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");
int max_max_hp = get_real_hp(true, true);
+#if TAG_MAJOR_VERSION == 34
if (you.species == SP_DJINNI)
max_max_hp += get_real_mp(true); // compare _print_stats_hp
+
_update_int(force_full, c.real_hp_max, max_max_hp, "real_hp_max");
if (you.species != SP_DJINNI)
@@ -719,6 +721,11 @@ void TilesFramework::_send_player(bool force_full)
contam = 16000;
_update_int(force_full, c.contam, contam, "contam");
}
+#else
+ _update_int(force_full, c.real_hp_max, max_max_hp, "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");
+#endif
if (you.species == SP_LAVA_ORC)
_update_int(force_full, c.heat, temperature(), "heat");