From 982971bec87c83060cce57dada5cfaa208911e3e Mon Sep 17 00:00:00 2001 From: WiZZy Date: Tue, 26 Mar 2019 00:08:21 +0200 Subject: [PATCH] Compatibility issues fix after https://github.com/azerothcore/azerothcore-wotlk/commit/824a80005c872dbd266ed69bb321525d1e2f3479 (#21) --- src/Transmogrification.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Transmogrification.h b/src/Transmogrification.h index 4a30a76..f55b51c 100644 --- a/src/Transmogrification.h +++ b/src/Transmogrification.h @@ -7,6 +7,7 @@ #include "ScriptMgr.h" #include "ScriptedGossip.h" #include "GameEventMgr.h" +#include #define PRESETS // comment this line to disable preset feature totally #define MAX_OPTIONS 25 // do not alter @@ -38,8 +39,8 @@ enum TransmogTrinityStrings // Language.h might have same entries, appears when class Transmogrification { public: - typedef UNORDERED_MAP transmogData; - typedef UNORDERED_MAP transmogMap; + typedef unordered_map transmogData; + typedef unordered_map transmogMap; transmogMap entryMap; // entryMap[pGUID][iGUID] = entry transmogData dataMap; // dataMap[iGUID] = pGUID @@ -49,10 +50,10 @@ public: typedef std::map slotMap; typedef std::map presetData; - typedef UNORDERED_MAP presetDataMap; + typedef unordered_map presetDataMap; presetDataMap presetById; // presetById[pGUID][presetID][slot] = entry typedef std::map presetIdMap; - typedef UNORDERED_MAP presetNameMap; + typedef unordered_map presetNameMap; presetNameMap presetByName; // presetByName[pGUID][presetID] = presetName void PresetTransmog(Player* player, Item* itemTransmogrified, uint32 fakeEntry, uint8 slot);