*Fix the bug that creatures do not return to spawn point when players leave instance.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-04 13:04:11 -06:00
parent c0a131a63d
commit caca633c8e

View File

@@ -283,6 +283,7 @@ ObjectGridStoper::Visit(CreatureMapType &m)
iter->getSource()->CombatStop();
iter->getSource()->DeleteThreatList();
iter->getSource()->RemoveAllDynObjects();
iter->getSource()->AI()->EnterEvadeMode();
}
}