From d1e7c6d0801d1a8d8f1e6c5bbd6343a598ce7621 Mon Sep 17 00:00:00 2001 From: Rat Date: Sun, 28 Dec 2014 10:41:08 +0100 Subject: Core/Logs: fixing typos --- src/server/game/AI/SmartScripts/SmartScript.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 1798f5b179d..36eedae90ef 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -2392,7 +2392,7 @@ ObjectList* SmartScript::GetTargets(SmartScriptHolder const& e, Unit* invoker /* { Unit* scriptTrigger = NULL; if (invoker) -begin(); itr != targets- scriptTrigger = invoker; + scriptTrigger = invoker; else if (Unit* tempLastInvoker = GetLastInvoker()) scriptTrigger = tempLastInvoker; @@ -3262,7 +3262,7 @@ void SmartScript::UpdateTimer(SmartScriptHolder& e, uint32 const diff) // delay spell cast event if another spell is being cast if (e.GetActionType() == SMART_ACTION_CAST) { - if (!(e. go-action.cast.flags & SMARTCAST_INTERRUPT_PREVIOUS)) + if (!(e.action.cast.flags & SMARTCAST_INTERRUPT_PREVIOUS)) { if (me && me->HasUnitState(UNIT_STATE_CASTING)) { @@ -3626,4 +3626,3 @@ Unit* SmartScript::GetLastInvoker() { return ObjectAccessor::FindUnit(mLastInvoker); } -SmartScript: EventMap for AreaTrigger %u is empty but is using SmartScript. -- cgit v1.2.3