diff options
author | KingPin <none@none> | 2008-11-10 06:53:00 -0600 |
---|---|---|
committer | KingPin <none@none> | 2008-11-10 06:53:00 -0600 |
commit | 09280b0091474b58d43daf42c0f3d99f86e6ec25 (patch) | |
tree | a6b9b17869b7e035811baa36bc1a0e2b618af216 /src/bindings/scripts/ScriptMgr.cpp | |
parent | f2250030cd7ea58eb9de63a96c34656ac1916369 (diff) |
[svn] * Switch from hashmap to unordered map. - cleanup source - mangos. Help - Aokromes
--HG--
branch : trunk
rename : src/framework/Utilities/HashMap.h => src/framework/Utilities/UnorderedMap.h
Diffstat (limited to 'src/bindings/scripts/ScriptMgr.cpp')
-rw-r--r-- | src/bindings/scripts/ScriptMgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bindings/scripts/ScriptMgr.cpp b/src/bindings/scripts/ScriptMgr.cpp index bec1d21036c..3b553af3ee6 100644 --- a/src/bindings/scripts/ScriptMgr.cpp +++ b/src/bindings/scripts/ScriptMgr.cpp @@ -45,7 +45,7 @@ enum ChatType #define TEXT_SOURCE_RANGE -1000000 //the amount of entries each text source has available // Text Maps -HM_NAMESPACE::hash_map<int32, StringTextData> TextMap; +UNORDERED_MAP<int32, StringTextData> TextMap; //*** End Global data *** @@ -55,10 +55,10 @@ HM_NAMESPACE::hash_map<int32, StringTextData> TextMap; std::list<EventAI_Event> EventAI_Event_List; //Event AI summon structure. Used exclusivly by mob_event_ai.cpp. -HM_NAMESPACE::hash_map<uint32, EventAI_Summon> EventAI_Summon_Map; +UNORDERED_MAP<uint32, EventAI_Summon> EventAI_Summon_Map; //Event AI error prevention structure. Used at runtime to prevent error log spam of same creature id. -//HM_NAMESPACE::hash_map<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; +//UNORDERED_MAP<uint32, EventAI_CreatureError> EventAI_CreatureErrorPreventionList; uint32 EAI_ErrorLevel; //*** End EventAI data *** @@ -1792,7 +1792,7 @@ void DoScriptText(int32 textEntry, WorldObject* pSource, Unit* target) return; } - HM_NAMESPACE::hash_map<int32, StringTextData>::iterator i = TextMap.find(textEntry); + UNORDERED_MAP<int32, StringTextData>::iterator i = TextMap.find(textEntry); if (i == TextMap.end()) { |