Core/SAI: reset event phase when calling SMART_ACTION_CALL_SCRIPT_RESET.

Now it really does what it says on the tin.

(cherry picked from commit c189e27f39)
This commit is contained in:
SnapperRy
2016-10-29 23:44:03 +02:00
committed by joschiwald
parent 7666fbae3e
commit cc44c5f349

View File

@@ -1848,6 +1848,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: