Core: More Function name updates
This commit is contained in:
1 parent
ec474a62e5
commit
4096c54efa
7 files changed
+20
-20
No files matched your search
@@ -5776,7 +5776,7 @@ void Spell::EffectGameObjectDamage(SpellEffIndex /*effIndex*/)
|
||||
if (!caster)
|
||||
return;
|
||||
|
||||
FactionTemplateEntry const* casterFaction = caster->getFactionTemplateEntry();
|
||||
FactionTemplateEntry const* casterFaction = caster->GetFactionTemplateEntry();
|
||||
FactionTemplateEntry const* targetFaction = sFactionTemplateStore.LookupEntry(gameObjTarget->GetUInt32Value(GAMEOBJECT_FACTION));
|
||||
// Do not allow to damage GO's of friendly factions (ie: Wintergrasp Walls/Ulduar Storm Beacons)
|
||||
if ((casterFaction && targetFaction && !casterFaction->IsFriendlyTo(*targetFaction)) || !targetFaction)
|
||||
|
||||
Reference in new issue
Block a user