diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-09-06 21:40:04 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2013-09-06 21:40:04 +0200 |
commit | bc1a079b6ca2516d80f3eed5b911971b77cabce4 (patch) | |
tree | 0b7f682fa1c6134df03a48587d938687dbdc0d46 /src | |
parent | e5af3e25f9c1ecc21d89dc3527a6bd651f0e7420 (diff) |
Core/SAI: Fix typo (i blame germans laziness)
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index c93ffe90add..361cf025647 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -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); } } } |