[Scummvm-cvs-logs] SF.net SVN: scummvm:[33394] scummvm/trunk/engines/parallaction/disk_br.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Tue Jul 29 06:06:10 CEST 2008


Revision: 33394
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33394&view=rev
Author:   Kirben
Date:     2008-07-29 04:06:10 +0000 (Tue, 29 Jul 2008)

Log Message:
-----------
Mask files don't always exist in Amiga version of BRA, in paricular NULL.msk.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/disk_br.cpp

Modified: scummvm/trunk/engines/parallaction/disk_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/disk_br.cpp	2008-07-29 04:00:07 UTC (rev 33393)
+++ scummvm/trunk/engines/parallaction/disk_br.cpp	2008-07-29 04:06:10 UTC (rev 33394)
@@ -615,13 +615,13 @@
 		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()) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list