Fixed possible crash with unordered maps

This commit is contained in:
Yehonal
2017-02-19 22:53:58 +01:00
parent 813be46f17
commit 28e2d76cb4

View File

@@ -528,7 +528,7 @@ enum GlobalPlayerUpdateMask
PLAYER_UPDATE_DATA_NAME = 0x10,
};
typedef UNORDERED_MAP<uint32, GlobalPlayerData> GlobalPlayerDataMap;
typedef std::map<uint32, GlobalPlayerData> GlobalPlayerDataMap;
typedef std::map<std::string, uint32> GlobalPlayerNameMap;
// xinef: petitions storage