mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-27 04:12:17 +00:00
QuestMgr::movePCInstance converted to xyz_heading
This commit is contained in:
1 parent
c8063c31ed
commit
8b7a09dbc1
3 files changed
+5
-5
No files matched your search
+2
-2
@@ -2616,12 +2616,12 @@ void QuestManager::RemoveAllFromInstance(uint16 instance_id)
|
||||
}
|
||||
}
|
||||
|
||||
void QuestManager::MovePCInstance(int zone_id, int instance_id, float x, float y, float z, float heading)
|
||||
void QuestManager::MovePCInstance(int zone_id, int instance_id, const xyz_heading& position)
|
||||
{
|
||||
QuestManagerCurrentQuestVars();
|
||||
if(initiator)
|
||||
{
|
||||
initiator->MovePC(zone_id, instance_id, x, y, z, heading);
|
||||
initiator->MovePC(zone_id, instance_id, position.m_X, position.m_Y, position.m_Z, position.m_Heading);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user