mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 17:57:14 +00:00
Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.
svn-id: r33394
This commit is contained in:
parent
fd40cb4342
commit
598394e5b8
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user