mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 20:13:48 +00:00
Merge branch 'azerothcore:master' into Playerbot
This commit is contained in:
@@ -2013,18 +2013,6 @@ void Creature::DespawnOnEvade()
|
||||
{
|
||||
SetVisible(false);
|
||||
AI()->SummonedCreatureDespawnAll();
|
||||
RemoveEvadeAuras();
|
||||
|
||||
float x, y, z, o;
|
||||
GetRespawnPosition(x, y, z, &o);
|
||||
SetHomePosition(x, y, z, o);
|
||||
SetPosition(x, y, z, o);
|
||||
|
||||
if (IsFalling())
|
||||
{
|
||||
RemoveUnitMovementFlag(MOVEMENTFLAG_FALLING);
|
||||
}
|
||||
StopMoving();
|
||||
}
|
||||
|
||||
void Creature::RespawnOnEvade()
|
||||
|
||||
Reference in New Issue
Block a user