mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
QuestMgr::movePCInstance converted to xyz_heading
This commit is contained in:
+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