[Scummvm-cvs-logs] SF.net SVN: scummvm: [20807] scummvm/trunk/engines/gob/game.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Feb 21 08:16:11 CET 2006


Revision: 20807
Author:   sev
Date:     2006-02-21 08:15:07 -0800 (Tue, 21 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20807&view=rev

Log Message:
-----------
Fix crash on floppy version of gob2

Modified Paths:
--------------
    scummvm/trunk/engines/gob/game.cpp
Modified: scummvm/trunk/engines/gob/game.cpp
===================================================================
--- scummvm/trunk/engines/gob/game.cpp	2006-02-21 14:22:25 UTC (rev 20806)
+++ scummvm/trunk/engines/gob/game.cpp	2006-02-21 16:15:07 UTC (rev 20807)
@@ -430,6 +430,11 @@
 		_soundFromExt[slot] = 0;
 	}
 
+	if (_vm->_features & Gob::GF_GOB2) {
+		warning("STUB: interLoadSound());
+		return;
+	}
+
 	loadSound(slot, dataPtr);
 }
 







More information about the Scummvm-git-logs mailing list