mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user