[9725] removed PlayerNotifier and related Map::UpdatePlayerVisibility function, used UpdateObjectVisibility instead

(based on SilverIce's repo commit e226019)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Note: this changes not affect in any good/bad way recent problem with player guids.
This commit is contained in:
SilverIce 2010-04-11 05:36:30 +04:00 committed by VladimirMangos
parent 20162b6db4
commit 53eeebf2fe
6 changed files with 6 additions and 58 deletions

View file

@ -21929,7 +21929,7 @@ void Player::UpdateVisibilityForPlayer()
CellPair p(MaNGOS::ComputeCellPair(GetPositionX(), GetPositionY()));
Cell cell(p);
m->UpdatePlayerVisibility(this, cell, p);
m->UpdateObjectVisibility(this, cell, p);
if (this != viewPoint)
{