Add (core\db): Support for Homebind Orientation (#13389)

Add (core\db) Support for Homebind Orientation
This commit is contained in:
M'Dic
2022-10-12 14:39:02 -04:00
committed by GitHub
parent 7eb096ae0b
commit 2e6f6e26da
15 changed files with 43 additions and 33 deletions

View File

@@ -1702,7 +1702,7 @@ void WorldSession::HandleHearthAndResurrect(WorldPacket& /*recv_data*/)
_player->BuildPlayerRepop();
_player->ResurrectPlayer(1.0f);
_player->SpawnCorpseBones();
_player->TeleportTo(_player->m_homebindMapId, _player->m_homebindX, _player->m_homebindY, _player->m_homebindZ, _player->GetOrientation());
_player->TeleportTo(_player->m_homebindMapId, _player->m_homebindX, _player->m_homebindY, _player->m_homebindZ, _player->m_homebindO);
}
void WorldSession::HandleInstanceLockResponse(WorldPacket& recvPacket)