QuestMgr::CreateObjectFromModel converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-11-30 22:05:34 -08:00
parent 4c5117cabe
commit c8063c31ed
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -2699,7 +2699,7 @@ XS(XS__CreateGroundObjectFromModel)
if (items > 6)
decay_time = (uint32)SvIV(ST(6));
id = quest_manager.CreateGroundObjectFromModel(modelname, x, y, z, heading, type, decay_time);
id = quest_manager.CreateGroundObjectFromModel(modelname, xyz_heading(x, y, z, heading), type, decay_time);
XSRETURN_IV(id);
}