aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp
index 5929490f6d..1cda1c0c95 100644
--- a/engines/kyra/resource.cpp
+++ b/engines/kyra/resource.cpp
@@ -41,7 +41,7 @@ Resource::Resource(KyraEngine *vm) : _loaders(), _map(), _vm(vm) {
}
Resource::~Resource() {
- unloadAllPakFiles();
+ _map.clear();
_loaders.clear();
}