[8963] Make bindpoint field private and add required functions for use.

This commit is contained in:
VladimirMangos 2009-12-10 12:14:11 +03:00
parent 4a2dc2438c
commit ed7d561597
9 changed files with 31 additions and 21 deletions

View file

@ -2617,7 +2617,7 @@ void InstanceMap::UnloadAll(bool pForce)
for(MapRefManager::iterator itr = m_mapRefManager.begin(); itr != m_mapRefManager.end(); ++itr)
{
Player* plr = itr->getSource();
plr->TeleportTo(plr->m_homebindMapId, plr->m_homebindX, plr->m_homebindY, plr->m_homebindZ, plr->GetOrientation());
plr->TeleportToHomebind();
}
}