mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +00:00
Do not use an invalid iterator
This commit is contained in:
parent
9fbcc5df5e
commit
42b9a6daaf
@ -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…
x
Reference in New Issue
Block a user