aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/disk_br.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/disk_br.cpp')
-rw-r--r--engines/parallaction/disk_br.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp
index a5c5a51306..2285c5608e 100644
--- a/engines/parallaction/disk_br.cpp
+++ b/engines/parallaction/disk_br.cpp
@@ -615,13 +615,13 @@ void AmigaDisk_br::loadScenery(BackgroundInfo& info, const char* name, const cha
if (!node.exists()) {
filepath = Common::String(mask) + ".msk";
node = _commonMskDir.getChild(filepath);
- if (!node.exists()) {
- errorFileNotFound(_mskDir, filepath);
- }
}
- stream.open(node);
- loadMask(info, stream);
- stream.close();
+
+ if (node.exists()) {
+ stream.open(node);
+ loadMask(info, stream);
+ stream.close();
+ }
}
if (path && _pthDir.exists()) {