comment out some now dead code

Closes #670
This commit is contained in:
nhmall
2022-02-10 09:16:29 -05:00
parent 96ba3c04d1
commit 08da5befcb

View File

@@ -729,6 +729,9 @@ dotele(
but they both yield the same result.] */
#define spellev(spell_otyp) ((int) objects[spell_otyp].oc_level)
energy = 5 * spellev(SPE_TELEPORT_AWAY);
#if 0
/* the addition of !break_the_rules to the outer if-block in
1ada454f rendered this dead code */
if (break_the_rules) {
if (!castit)
energy = 0;
@@ -739,7 +742,9 @@ dotele(
having enough to cast (which also uses the move) */
else if (u.uen < energy)
energy = u.uen;
} else if (u.uhunger <= 10) {
} else
#endif
if (u.uhunger <= 10) {
cantdoit = "are too weak from hunger";
} else if (ACURR(A_STR) < 4) {
cantdoit = "lack the strength";