[7844] Fixed mangos string storage index type.

This commit is contained in:
VladimirMangos 2009-05-18 12:20:51 +04:00
parent 592adcf6d4
commit 75d7a4c0cb
3 changed files with 3 additions and 7 deletions

View file

@ -6553,11 +6553,7 @@ bool ObjectMgr::LoadMangosStrings(DatabaseType& db, char const* table, int32 min
for(MangosStringLocaleMap::iterator itr = mMangosStringLocaleMap.begin(); itr != mMangosStringLocaleMap.end();)
{
if (itr->first >= start_value && itr->first < end_value)
{
MangosStringLocaleMap::iterator itr2 = itr;
++itr;
mMangosStringLocaleMap.erase(itr2);
}
mMangosStringLocaleMap.erase(itr++);
else
++itr;
}