From bff1705ba224205a2f6aace73b56d3c0d1d589ee Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Sat, 11 Jan 2025 08:15:33 -0600 Subject: [PATCH] linux build fix --- zone/bot.h | 4 ++-- zone/bot_structs.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/zone/bot.h b/zone/bot.h index 6cd4079b7..bebef8d5d 100644 --- a/zone/bot.h +++ b/zone/bot.h @@ -952,7 +952,7 @@ public: void SetBotTimers(std::vector timers) { bot_timers = timers; } std::vector GetBotBlockedBuffs() { return bot_blocked_buffs; } void SetBotBlockedBuffs(std::vector blocked_buffs) { bot_blocked_buffs = blocked_buffs; } - const CommandedSpellTypesMinLevelMap& GetCommandedSpellTypesMinLevels() { return commanded_spells_min_level; } + const std::map>& GetCommandedSpellTypesMinLevels() { return commanded_spells_min_level; } uint32 GetLastZoneID() const { return _lastZoneId; } int32 GetBaseAC() const { return _baseAC; } int32 GetBaseATK() const { return _baseATK; } @@ -1082,7 +1082,7 @@ protected: std::vector AIBot_spells_enforced; std::unordered_map> AIBot_spells_by_type; - CommandedSpellTypesMinLevelMap commanded_spells_min_level; + std::map> commanded_spells_min_level; std::vector bot_timers; std::vector bot_blocked_buffs; diff --git a/zone/bot_structs.h b/zone/bot_structs.h index 69e1ce672..a9d336a21 100644 --- a/zone/bot_structs.h +++ b/zone/bot_structs.h @@ -127,6 +127,4 @@ struct BotSpellTypesByClass_Struct { std::string description; }; -using CommandedSpellTypesMinLevelMap = std::map>; - #endif // BOT_STRUCTS