summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 23f96368e..dd2e6c5ac 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -207,6 +207,8 @@ void ResourceManager::cleanProtected()
{
res->setProtected(false);
res->decRef();
+ iter = mResources.begin();
+ continue;
}
++ iter;