mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 16:38:26 +00:00
NPC constructor converted to use xyz_heading
This commit is contained in:
+1
-1
@@ -217,7 +217,7 @@ bool Spawn2::Process() {
|
||||
database.UpdateSpawn2Timeleft(spawn2_id, zone->GetInstanceID(), 0);
|
||||
|
||||
currentnpcid = npcid;
|
||||
NPC* npc = new NPC(tmp, this, x, y, z, heading, FlyMode3);
|
||||
NPC* npc = new NPC(tmp, this, xyz_heading(x, y, z, heading), FlyMode3);
|
||||
|
||||
npc->mod_prespawn(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user