e136047f18c6ed7040dc5b86f43980e83c4e8f4d
Three-layer defense against dangling pointers in _updateObjects: 1. BotWorldSessionMgr: Call SetDestroyedObject(true) early in RemovePlayerBot() before clearing update mask 2. BaseEntity: Block re-adding to _updateObjects once marked destroyed by checking !m_isDestroyedObject in AddToObjectUpdateIfNeeded() 3. Map: Add IsDestroyedObject() check before BuildUpdate() as final safety net for partially corrupted objects Also fix BG bot count calculation in QueueStatePoller to use maxPlayersPerTeam instead of minPlayersPerTeam (15v15 for SotA instead of 5v5) Co-Authored-By: Claude Opus 4.5 <[email protected]> Signed-off-by: luis <[email protected]>
WowCommunityProject
Blizzlike WowCommunity project
Languages
C++
89.3%
C
10.1%
CMake
0.4%