From a9c5881487f0730aa2c8fe123f91da8142bf0ecd Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Tue, 19 Dec 2023 07:59:18 +0100 Subject: [PATCH] Scripts/BoT: fixed linux build --- .../BastionOfTwilight/boss_halfus_wyrmbreaker.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp index e66c65d7cd..b97039f778 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp @@ -107,11 +107,13 @@ enum SpawnGroups struct EncounterDragonData { + EncounterDragonData(uint32 dataType, uint32 encounterCreatureId) : DataType(dataType), EncounterCreatureId(encounterCreatureId) { } + uint32 DataType = 0; uint32 EncounterCreatureId = 0; }; -static constexpr std::array const DragonData = +static std::array DragonData = { EncounterDragonData(DATA_SLATE_DRAGON, NPC_SLATE_DRAGON_ENCOUNTER), EncounterDragonData(DATA_NETHER_SCION, NPC_NETHER_SCION_ENCOUNTER),