EntityList::CreateGroundObject converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-11-30 21:30:16 -08:00
parent d54215ea18
commit c3471ed88e
3 changed files with 17 additions and 16 deletions
+1 -1
View File
@@ -2345,7 +2345,7 @@ int QuestManager::getlevel(uint8 type)
uint16 QuestManager::CreateGroundObject(uint32 itemid, float x, float y, float z, float heading, uint32 decay_time)
{
uint16 entid = 0; //safety check
entid = entity_list.CreateGroundObject(itemid, x, y, z, heading, decay_time);
entid = entity_list.CreateGroundObject(itemid, xyz_heading(x, y, z, heading), decay_time);
return entid;
}