QuestManager::CreateGroundObject converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-11-30 21:42:59 -08:00
parent c3471ed88e
commit 4c5117cabe
4 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -2342,10 +2342,10 @@ int QuestManager::getlevel(uint8 type)
return 0;
}
uint16 QuestManager::CreateGroundObject(uint32 itemid, float x, float y, float z, float heading, uint32 decay_time)
uint16 QuestManager::CreateGroundObject(uint32 itemid, const xyz_heading& position, uint32 decay_time)
{
uint16 entid = 0; //safety check
entid = entity_list.CreateGroundObject(itemid, xyz_heading(x, y, z, heading), decay_time);
entid = entity_list.CreateGroundObject(itemid, position, decay_time);
return entid;
}