Core/Spells: Add one more allowed case for CastSpellTargetArg constructor

This commit is contained in:
Shauren
2022-04-01 20:33:46 +02:00
parent 653d5a68e6
commit 3f55647b3e

View File

@@ -8341,5 +8341,8 @@ CastSpellTargetArg::CastSpellTargetArg(WorldObject* target)
Targets.emplace();
Targets->SetGOTarget(goTarget);
}
// error when targeting anything other than units and gameobjects
}
else
Targets.emplace(); // nullptr is allowed
}