Core/SAI: Fix typo (i blame germans laziness)

This commit is contained in:
Vincent-Michael
2013-09-06 21:40:04 +02:00
parent e5af3e25f9
commit bc1a079b6c

View File

@@ -784,9 +784,9 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
{
uint32 creatureSummonEntry = spellInfo->Effects[j].MiscValue;
if (e.action.killedMonster.creature == creatureSummonEntry)
if (e.action.summonCreature.creature == creatureSummonEntry)
TC_LOG_ERROR(LOG_FILTER_SQL, "SmartAIMgr: Entry %d SourceType %u Event %u Action %u creature summon: %u has already summon spell (SpellId: %u effect: %u)",
e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType(), e.action.killedMonster.creature, spellInfo->Id, j);
e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType(), e.action.summonCreature.creature, spellInfo->Id, j);
}
}
}