NPC constructor converted to use xyz_heading

This commit is contained in:
Arthur Ice committed 2014-11-30 17:32:11 -08:00
1 parent 0570722b3b
commit 54bc1b06e4
16 files changed
+96 -92

No files matched your search

+1 -1
View File
@@ -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);