chore(Core/Player): add error log when previously ASSERT (#6802)
This commit is contained in:
parent
aaa1387ad6
commit
65c9d3669f
1 changed files with 1 additions and 0 deletions
|
|
@ -22996,6 +22996,7 @@ void Player::UpdateVisibilityForPlayer(bool mapChange)
|
|||
// After added to map seer must be a player - there is no possibility to still have different seer (all charm auras must be already removed)
|
||||
if (mapChange && m_seer != this)
|
||||
{
|
||||
LOG_ERROR("entities.player", "Something wrong in Player::UpdateVisibilityForPlayer - after added to map seer must be a player - there is no possibility to still have different seer (all charm auras must be already removed)");
|
||||
m_seer = this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue