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
parent 2729eb156f
commit c189e27f39

View File

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