mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-13 06:15:36 -04: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;
|
++it;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
iter->second.erase(it);
|
it = iter->second.erase(it);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
++it;
|
++it;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user