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