mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 04:08:27 +00:00
QuestManager::unique_spawn converted to xyz_heading
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user