aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/resource.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp
index 97cec405b3..af2ff60d59 100644
--- a/engines/sci/resource.cpp
+++ b/engines/sci/resource.cpp
@@ -1928,15 +1928,13 @@ int ResourceManager::readResourceMapSCI1(ResourceSource *map) {
volumeName = "RESAUD.001";
}
} else if (resId.getNumber() == 65535) {
- if (g_sci->getGameId() == GID_RAMA) {
- volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
-
- if (g_sci->getGameId() == GID_RAMA && !Common::File::exists(volumeName)) {
- if (Common::File::exists("RESOURCE.SFX")) {
- volumeName = "RESOURCE.SFX";
- } else if (Common::File::exists("RESSFX.001")) {
- volumeName = "RESSFX.001";
- }
+ volumeName = Common::String::format("RESSFX.%03d", mapVolumeNr);
+
+ if (g_sci->getGameId() == GID_RAMA && !Common::File::exists(volumeName)) {
+ if (Common::File::exists("RESOURCE.SFX")) {
+ volumeName = "RESOURCE.SFX";
+ } else if (Common::File::exists("RESSFX.001")) {
+ volumeName = "RESSFX.001";
}
}
} else {