[7844] Fixed mangos string storage index type. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-18 15:07:14 -05:00
parent e8be2f026e
commit bd87c96f4c
2 changed files with 2 additions and 6 deletions

View File

@@ -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;
}