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

The scripts themselves should take care of that.

(cherry picked from commit 5267381e39)
This commit is contained in:
SnapperRy
2016-10-10 13:58:07 +02:00
committed by joschiwald
parent 0b4088fdb8
commit 8cb5368062

View File

@@ -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)
{