diff options
author | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-10-02 23:03:26 +0200 |
---|---|---|
committer | Vincent-Michael <Vincent_Michael@gmx.de> | 2014-10-02 23:03:48 +0200 |
commit | cb2862671b1a0a711d47451138c194ab674bbec2 (patch) | |
tree | dc43d9a153179ae29ad4c41b53ef9683b00cbdd5 | |
parent | d828d16e9e0a7416823c07d27a19f4362c3f0826 (diff) |
Core/SmartScript: Fix warnings
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScriptMgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp index 6144a102e6c..c12221165d4 100644 --- a/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp +++ b/src/server/game/AI/SmartScripts/SmartScriptMgr.cpp @@ -786,7 +786,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e) { if (spellInfo->Effects[j].TargetA.GetTarget() == TARGET_UNIT_CASTER) TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry %d SourceType %u Event %u Action %u Effect: SPELL_EFFECT_KILL_CREDIT: (SpellId: %u targetA: %u - targetB: %u) has invalid target for this Action", - e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType(), e.action.cast.spell, spellInfo->Effects[j].TargetA, spellInfo->Effects[j].TargetB); + e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType(), e.action.cast.spell, spellInfo->Effects[j].TargetA.GetTarget(), spellInfo->Effects[j].TargetB.GetTarget()); } } break; |