Core/SAI: don't reset event phase when npc evades/resets.

The scripts themselves should take care of that.

(cherry picked from commit 5267381e39c23797bfad22c5433910ecf155145c)
This commit is contained in:
SnapperRy
2017-09-05 12:14:15 +02:00
committed by joschiwald
parent 0b4088fdb8
commit 8cb5368062
@@ -177,7 +177,6 @@ Creature* SmartScript::FindCreatureNear(WorldObject* searchObject, ObjectGuid::L
void SmartScript::OnReset()
{
SetPhase(0);
ResetBaseObject();
for (SmartAIEventList::iterator i = mEvents.begin(); i != mEvents.end(); ++i)
{