[7844] Fixed mangos string storage index type. Author: VladimirMangos
--HG-- branch : trunk
This commit is contained in:
1 parent
e8be2f026e
commit
bd87c96f4c
2 files changed
+2
-6
No files matched your search
@@ -6851,11 +6851,7 @@ bool ObjectMgr::LoadTrinityStrings(DatabaseType& db, char const* table, int32 mi
|
||||
for(TrinityStringLocaleMap::iterator itr = mTrinityStringLocaleMap.begin(); itr != mTrinityStringLocaleMap.end();)
|
||||
{
|
||||
if (itr->first >= start_value && itr->first < end_value)
|
||||
{
|
||||
TrinityStringLocaleMap::iterator itr2 = itr;
|
||||
++itr;
|
||||
mTrinityStringLocaleMap.erase(itr2);
|
||||
}
|
||||
mTrinityStringLocaleMap.erase(itr++);
|
||||
else
|
||||
++itr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user