diff --git a/apps/opencs/model/world/infocollection.cpp b/apps/opencs/model/world/infocollection.cpp index ced7938fc2..729bc31c97 100644 --- a/apps/opencs/model/world/infocollection.cpp +++ b/apps/opencs/model/world/infocollection.cpp @@ -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;