mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 11:36:40 +00:00
Do not use an invalid iterator
This commit is contained in:
parent
9fbcc5df5e
commit
42b9a6daaf
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ void CSMWorld::InfoCollection::removeRows (int index, int count)
|
|||
++it;
|
||||
}
|
||||
else
|
||||
iter->second.erase(it);
|
||||
it = iter->second.erase(it);
|
||||
}
|
||||
else
|
||||
++it;
|
||||
|
|
Loading…
Reference in a new issue