mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
fix(Core/Combat): Creatures should evade if its only victim is teleporting to other map (#7975)
This commit is contained in:
@@ -116,7 +116,7 @@ void WorldSession::HandleMoveWorldportAck()
|
||||
}
|
||||
|
||||
if (!_player->getHostileRefMgr().isEmpty())
|
||||
_player->getHostileRefMgr().deleteReferences(); // pussywizard: multithreading crashfix
|
||||
_player->getHostileRefMgr().deleteReferences(true); // pussywizard: multithreading crashfix
|
||||
|
||||
CellCoord pair(Acore::ComputeCellCoord(GetPlayer()->GetPositionX(), GetPlayer()->GetPositionY()));
|
||||
Cell cell(pair);
|
||||
|
||||
Reference in New Issue
Block a user