mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 17:07:17 +00:00
Doors constructor converted to xyz_heading
This commit is contained in:
1 parent
7239a1339e
commit
7ac9a5c5a6
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user