aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/resman.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/resman.cpp')
-rw-r--r--engines/sword2/resman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp
index 88a1f6251a..d6b8025cda 100644
--- a/engines/sword2/resman.cpp
+++ b/engines/sword2/resman.cpp
@@ -191,7 +191,7 @@ bool ResourceManager::init() {
if (cdInf[i].cd == 0 && !Common::File::exists((char *)cdInf[i].clusterName)) {
_vm->GUIErrorMessage("Broken Sword 2: Cannot find " + Common::String((char *)cdInf[i].clusterName));
- delete [] cdInf;
+ delete[] cdInf;
return false;
}
}
@@ -205,7 +205,7 @@ bool ResourceManager::init() {
}
if (j == _totalClusters) {
- delete [] cdInf;
+ delete[] cdInf;
_vm->GUIErrorMessage(Common::String(_resFiles[i].fileName) + " is not in cd.inf");
return false;
}
@@ -213,7 +213,7 @@ bool ResourceManager::init() {
_resFiles[i].cd = cdInf[j].cd;
}
- delete [] cdInf;
+ delete[] cdInf;
debug(1, "%d resources in %d cluster files", _totalResFiles, _totalClusters);
for (i = 0; i < _totalClusters; i++)