mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[8963] Make bindpoint field private and add required functions for use.
This commit is contained in:
parent
4a2dc2438c
commit
ed7d561597
9 changed files with 31 additions and 21 deletions
|
|
@ -698,7 +698,7 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder *holder)
|
|||
if(at)
|
||||
pCurrChar->TeleportTo(at->target_mapId, at->target_X, at->target_Y, at->target_Z, pCurrChar->GetOrientation());
|
||||
else
|
||||
pCurrChar->TeleportTo(pCurrChar->m_homebindMapId, pCurrChar->m_homebindX, pCurrChar->m_homebindY, pCurrChar->m_homebindZ, pCurrChar->GetOrientation());
|
||||
pCurrChar->TeleportToHomebind();
|
||||
}
|
||||
|
||||
sObjectAccessor.AddObject(pCurrChar);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue