diff options
author | Rat <gmstreetrat@gmail.com> | 2014-12-28 10:41:08 +0100 |
---|---|---|
committer | Rat <gmstreetrat@gmail.com> | 2014-12-28 10:41:08 +0100 |
commit | d1e7c6d0801d1a8d8f1e6c5bbd6343a598ce7621 (patch) | |
tree | af27604122d386bdefde82c8e3495dd0cd563b7a /src | |
parent | bbca7e7da3303051df16d14693d5de65d8620919 (diff) |
Core/Logs: fixing typos
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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. |