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
2016-10-29 23:44:03 +02:00
committed by Aokromes
parent 26f513b111
commit 477ba4e439

View File

@@ -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: