mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
Move visibility update functions to more appropriate classes.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4041121fd8
commit
63897d56d7
10 changed files with 47 additions and 44 deletions
|
|
@ -372,11 +372,11 @@ void WorldSession::SendSpiritResurrect()
|
|||
_player->TeleportTo(corpseGrave->map_id, corpseGrave->x, corpseGrave->y, corpseGrave->z, _player->GetOrientation());
|
||||
// or update at original position
|
||||
else
|
||||
ObjectAccessor::UpdateVisibilityForPlayer(_player);
|
||||
_player->UpdateVisibilityForPlayer();
|
||||
}
|
||||
// or update at original position
|
||||
else
|
||||
ObjectAccessor::UpdateVisibilityForPlayer(_player);
|
||||
_player->UpdateVisibilityForPlayer();
|
||||
|
||||
_player->SaveToDB();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue