[Scummvm-cvs-logs] SF.net SVN: scummvm:[43736] scummvm/trunk/engines/tucker/resource.cpp

cyx at users.sourceforge.net cyx at users.sourceforge.net
Tue Aug 25 23:42:12 CEST 2009


Revision: 43736
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43736&view=rev
Author:   cyx
Date:     2009-08-25 21:42:12 +0000 (Tue, 25 Aug 2009)

Log Message:
-----------
TUCKER: skip sound file loading if not available in compressed bundle

Modified Paths:
--------------
    scummvm/trunk/engines/tucker/resource.cpp

Modified: scummvm/trunk/engines/tucker/resource.cpp
===================================================================
--- scummvm/trunk/engines/tucker/resource.cpp	2009-08-25 21:30:05 UTC (rev 43735)
+++ scummvm/trunk/engines/tucker/resource.cpp	2009-08-25 21:42:12 UTC (rev 43736)
@@ -252,6 +252,9 @@
 		}
 		break;
 	}
+	if (offset == 0) {
+		return 0;
+	}
 	Audio::AudioStream *stream = 0;
 	_fCompressedSound.seek(offset);
 	int dirOffset = _fCompressedSound.readUint32LE();


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