Doors constructor converted to xyz_heading

This commit is contained in:
Arthur Ice
2014-11-30 20:49:48 -08:00
parent 7239a1339e
commit 7ac9a5c5a6
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -3852,7 +3852,7 @@ uint16 EntityList::CreateDoor(const char *model, float x, float y, float z,
float heading, uint8 opentype, uint16 size)
{
if (model) {
Doors *door = new Doors(model, x, y, z, heading, opentype, size);
Doors *door = new Doors(model, xyz_heading(x, y, z, heading), opentype, size);
RemoveAllDoors();
zone->LoadZoneDoors(zone->GetShortName(), zone->GetInstanceVersion());
entity_list.AddDoor(door);