mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
refactor(Core/Combat): Port TrinityCore heap-based threat system (#24715)
Co-authored-by: blinkysc <[email protected]> Co-authored-by: Treeston <[email protected]> Co-authored-by: killerwife <[email protected]> Co-authored-by: Claude Opus 4.6 <[email protected]>
This commit is contained in:
co-authored by
blinkysc
Treeston
killerwife
Claude Opus 4.6
parent
c80a0f1fad
commit
984baa92dd
@@ -702,7 +702,7 @@ void Map::RemovePlayerFromMap(Player* player, bool remove)
|
||||
{
|
||||
UpdatePlayerZoneStats(player->GetZoneId(), MAP_INVALID_ZONE);
|
||||
|
||||
player->getHostileRefMgr().deleteReferences(true); // pussywizard: multithreading crashfix
|
||||
player->GetThreatMgr().RemoveMeFromThreatLists(); // pussywizard: multithreading crashfix
|
||||
|
||||
player->RemoveFromWorld();
|
||||
SendRemoveTransports(player);
|
||||
|
||||
Reference in New Issue
Block a user