diff options
| -rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp | 4 | ||||
| -rw-r--r-- | src/server/game/Battlegrounds/Zones/BattlegroundAV.h | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp b/src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp index 3a994cd48ae..a877109fe6a 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp +++ b/src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp @@ -1140,9 +1140,9 @@ bool BattlegroundAV::SetupBattleground() { // Create starting objects if (// alliance gates - !AddObject(BG_AV_OBJECT_DOOR_A, BG_AV_OBJECTID_GATE_A, BG_AV_DoorPositons[0], 0, 0, std::sin(BG_AV_DoorPositons[0].GetOrientation()/2), std::cos(BG_AV_DoorPositons[0].GetOrientation()/2), RESPAWN_IMMEDIATELY) + !AddObject(BG_AV_OBJECT_DOOR_A, BG_AV_OBJECTID_GATE_A, BG_AV_DoorPositons[0], BG_AV_DoorRotation[0].x, BG_AV_DoorRotation[0].y, BG_AV_DoorRotation[0].z, BG_AV_DoorRotation[0].w, RESPAWN_IMMEDIATELY) // horde gates - || !AddObject(BG_AV_OBJECT_DOOR_H, BG_AV_OBJECTID_GATE_H, BG_AV_DoorPositons[1], 0, 0, std::sin(BG_AV_DoorPositons[1].GetOrientation()/2), std::cos(BG_AV_DoorPositons[1].GetOrientation()/2), RESPAWN_IMMEDIATELY)) + || !AddObject(BG_AV_OBJECT_DOOR_H, BG_AV_OBJECTID_GATE_H, BG_AV_DoorPositons[1], BG_AV_DoorRotation[1].x, BG_AV_DoorRotation[1].y, BG_AV_DoorRotation[1].z, BG_AV_DoorRotation[1].w, RESPAWN_IMMEDIATELY)) { TC_LOG_ERROR("sql.sql", "BatteGroundAV: Failed to spawn some object Battleground not created!1"); return false; diff --git a/src/server/game/Battlegrounds/Zones/BattlegroundAV.h b/src/server/game/Battlegrounds/Zones/BattlegroundAV.h index c78ffd773ff..d3453d2f3af 100644 --- a/src/server/game/Battlegrounds/Zones/BattlegroundAV.h +++ b/src/server/game/Battlegrounds/Zones/BattlegroundAV.h @@ -542,8 +542,14 @@ Position const BG_AV_ObjectPos[AV_OPLACE_MAX] = Position const BG_AV_DoorPositons[2] = { - {780.487f, -493.024f, 99.9553f, 3.0976f}, //alliance - {-1375.193f, -538.981f, 55.2824f, 0.72178f} //horde + {794.64310f, -493.4745f, 99.77789f, -0.122173f}, //alliance + {-1382.057f, -545.9169f, 54.90467f, 0.7679439f} //horde +}; + +QuaternionData const BG_AV_DoorRotation[2] = +{ + {0.0f, 0.0f, -0.06104851f, 0.9981348f}, //alliance + {0.0f, 0.0f, 0.374606100f, 0.9271840f} //horde }; //creaturestuff starts here |
