Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.

Now it really does what it says on the tin.
This commit is contained in:
SnapperRy authored and Aokromes committed 2016-11-02 03:14:26 +01:00
1 parent 26f513b111
commit 477ba4e439
1 file changed
+1
@@ -1679,6 +1679,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
ResetBaseObject();
break;
case SMART_ACTION_CALL_SCRIPT_RESET:
SetPhase(0);
OnReset();
break;
case SMART_ACTION_SET_RANGED_MOVEMENT: