mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[10052] Camera System
(based on SilverIce's repo commit 4f2f4ab + next 3 more) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
f520c9b1e0
commit
e427ce80cc
27 changed files with 515 additions and 207 deletions
|
|
@ -397,11 +397,17 @@ void WorldSession::SendSpiritResurrect()
|
|||
_player->TeleportTo(corpseGrave->map_id, corpseGrave->x, corpseGrave->y, corpseGrave->z, _player->GetOrientation());
|
||||
// or update at original position
|
||||
else
|
||||
_player->UpdateVisibilityForPlayer();
|
||||
{
|
||||
_player->GetCamera().UpdateVisibilityForOwner();
|
||||
_player->UpdateObjectVisibility();
|
||||
}
|
||||
}
|
||||
// or update at original position
|
||||
else
|
||||
_player->UpdateVisibilityForPlayer();
|
||||
{
|
||||
_player->GetCamera().UpdateVisibilityForOwner();
|
||||
_player->UpdateObjectVisibility();
|
||||
}
|
||||
}
|
||||
|
||||
void WorldSession::HandleBinderActivateOpcode( WorldPacket & recv_data )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue