summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/potion.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/potion.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/potion.cc')
-rw-r--r--crawl-ref/source/potion.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc
index c892093096..3ae3bb5aba 100644
--- a/crawl-ref/source/potion.cc
+++ b/crawl-ref/source/potion.cc
@@ -425,8 +425,10 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know
case POT_MAGIC:
// Allow repairing rot, disallow going through Death's Door.
+#if TAG_MAJOR_VERSION == 34
if (you.species == SP_DJINNI)
return potion_effect(POT_HEAL_WOUNDS, pow, potion, was_known, from_fountain);
+#endif
inc_mp(10 + random2avg(28, 3));
mpr("Magic courses through your body.");