QuestManager::unique_spawn converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-12-02 14:36:51 -08:00
parent 2e0cfa86bf
commit 4daf4ab507
4 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -269,7 +269,8 @@ XS(XS__unique_spawn)
if(items == 7)
heading = (float)SvNV(ST(6));
Mob *r = quest_manager.unique_spawn(npc_type, grid, unused, x, y, z, heading);
Mob *r = quest_manager.unique_spawn(npc_type, grid, unused, xyz_heading(x, y, z, heading));
RETVAL = (r != nullptr) ? r->GetID() : 0;
XSprePUSH; PUSHu((UV)RETVAL);