mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
fix(Core/Combat): Creatures should evade if its only victim is teleporting to other map (#7975)
This commit is contained in:
@@ -882,7 +882,7 @@ struct ResetNotifier
|
||||
|
||||
void Map::RemovePlayerFromMap(Player* player, bool remove)
|
||||
{
|
||||
player->getHostileRefMgr().deleteReferences(); // pussywizard: multithreading crashfix
|
||||
player->getHostileRefMgr().deleteReferences(true); // pussywizard: multithreading crashfix
|
||||
|
||||
bool inWorld = player->IsInWorld();
|
||||
player->RemoveFromWorld();
|
||||
|
||||
Reference in New Issue
Block a user