From 8ae340d8479966b53bf2151627c05792362807f5 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 24 Feb 2018 21:34:54 -0500 Subject: XEEN: Remove debug code and unneeded variables --- engines/xeen/combat.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines/xeen/combat.cpp') diff --git a/engines/xeen/combat.cpp b/engines/xeen/combat.cpp index 32984c1527..94d31bd3b7 100644 --- a/engines/xeen/combat.cpp +++ b/engines/xeen/combat.cpp @@ -235,8 +235,7 @@ void Combat::giveCharDamage(int damage, DamageType attackType, int charIndex) { if (damage < 0) damage = 0; - // TODO: This seems weird.. maybe I've got attack types wrong.. - // why should attack type 7 (DT_SLEEP) set the dead condition? + // Attacked characters which are asleep are killed if (attackType == DT_SLEEP) { damage = c._currentHp; c._conditions[DEAD] = 1; -- cgit v1.2.3