unintentional change, reverted back.
This commit is contained in:
KayenEQ
2021-07-27 15:43:13 -04:00
parent e387c2bb44
commit 9fd85a12ef
+1 -6
View File
@@ -1577,12 +1577,7 @@ bool Mob::DetermineSpellTargets(uint16 spell_id, Mob *&spell_target, Mob *&ae_ce
// single target spells // single target spells
case ST_Self: case ST_Self:
{ {
if (!spell_target) spell_target = this;
{
LogSpells("Spell [{}] canceled: invalid target (normal)", spell_id);
MessageString(Chat::Red, SPELL_NEED_TAR);
return false; // can't cast these unless we have a target
}
CastAction = SingleTarget; CastAction = SingleTarget;
break; break;
} }