*Target is never valid on MAPID_INVALID.
--HG-- branch : trunk
This commit is contained in:
@@ -6350,6 +6350,8 @@ bool SpellEvent::IsDeletable() const
|
||||
|
||||
bool Spell::IsValidSingleTargetEffect(Unit const* target, Targets type) const
|
||||
{
|
||||
if (target->GetMapId() == MAPID_INVALID)
|
||||
return false;
|
||||
switch (type)
|
||||
{
|
||||
case TARGET_UNIT_TARGET_ENEMY:
|
||||
|
||||
Reference in New Issue
Block a user