From 598394e5b88f8513b9f5d9ee841e5bc2882f5d6c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Tue, 29 Jul 2008 04:06:10 +0000 Subject: Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk. svn-id: r33394 --- engines/parallaction/disk_br.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines') 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()) { -- cgit v1.2.3