diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-04-05 11:32:34 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-04-05 11:32:34 +0200 |
commit | e7deae947c94eab04370b5bdaab059ac425d697d (patch) | |
tree | 5b920b21381ce2e6f2cfa0402cb1ab2e629d7f56 /src | |
parent | 8c4c267de1c8dec170a77393d41c5948f2ca1199 (diff) |
Build fix for GCC 4.7
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DataStores/DBCStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp index e83e9d2f5d4..919c952f136 100644 --- a/src/server/game/DataStores/DBCStores.cpp +++ b/src/server/game/DataStores/DBCStores.cpp @@ -382,7 +382,7 @@ void LoadDBCStores(const std::string& dataPath) for (uint32 i = 0; i < sCharSectionsStore.GetNumRows(); ++i) if (CharSectionsEntry const* entry = sCharSectionsStore.LookupEntry(i)) if (entry->Race && ((1 << (entry->Race - 1)) & RACEMASK_ALL_PLAYABLE) != 0) //ignore Nonplayable races - sCharSectionMap.emplace(uint8(entry->GenType) | (uint8(entry->Gender) << 8) | (uint8(entry->Race) << 16), entry); + sCharSectionMap.insert({ entry->GenType | (entry->Gender << 8) | (entry->Race << 16), entry }); LoadDBC(availableDbcLocales, bad_dbc_files, sCharTitlesStore, dbcPath, "CharTitles.dbc");//19116 LoadDBC(availableDbcLocales, bad_dbc_files, sChatChannelsStore, dbcPath, "ChatChannels.dbc");//19116 |