mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
Fixes #11368
This commit is contained in:
@@ -452,10 +452,8 @@ Player::~Player()
|
||||
|
||||
if (!m_isInSharedVisionOf.empty())
|
||||
{
|
||||
LOG_INFO("misc", "Player::~Player (A1)");
|
||||
do
|
||||
{
|
||||
LOG_INFO("misc", "Player::~Player (A2)");
|
||||
Unit* u = *(m_isInSharedVisionOf.begin());
|
||||
u->RemovePlayerFromVision(this);
|
||||
} while (!m_isInSharedVisionOf.empty());
|
||||
|
||||
Reference in New Issue
Block a user