mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[7844] Fixed mangos string storage index type.
This commit is contained in:
parent
592adcf6d4
commit
75d7a4c0cb
3 changed files with 3 additions and 7 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue