is_blind works better as an else to the line that handles cure

This commit is contained in:
Paul Coene 2014-09-27 17:39:30 -04:00
parent 05ed577e23
commit d2acd0505c

View File

@ -1267,9 +1267,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#endif
if (spells[spell_id].base[i] == 1)
BuffFadeByEffect(SE_Blind);
// For spells like flash-of-light
if (IsDetrimentalSpell(spell_id))
else
is_blind = true;
break;
}