[Scummvm-cvs-logs] SF.net SVN: scummvm: [27036] scummvm/trunk/engines/scumm/he

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Jun 1 10:47:22 CEST 2007


Revision: 27036
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27036&view=rev
Author:   Kirben
Date:     2007-06-01 01:47:22 -0700 (Fri, 01 Jun 2007)

Log Message:
-----------
Fix bug #1727457 - WATER: Unexpected crash at the end of level 15.

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/he/script_v60he.cpp
    scummvm/trunk/engines/scumm/he/script_v70he.cpp

Modified: scummvm/trunk/engines/scumm/he/script_v60he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v60he.cpp	2007-06-01 01:33:49 UTC (rev 27035)
+++ scummvm/trunk/engines/scumm/he/script_v60he.cpp	2007-06-01 08:47:22 UTC (rev 27036)
@@ -1138,13 +1138,13 @@
 	int arg = pop();
 
 	switch (subOp) {
-	case 0xde:
+	case 222:
 		_imuse->setMusicVolume(arg);
 		break;
-	case 0xdf:
-		// Used in fbear introduction
+	case 223:
+		// WORKAROUND: For error in room script 228 (room 2) of fbear.
 		break;
-	case 0xe0:
+	case 224:
 		// Fatty Bear's Birthday surprise uses this when playing the
 		// piano, but only when using one of the digitized instruments.
 		// See also o6_startSound().

Modified: scummvm/trunk/engines/scumm/he/script_v70he.cpp
===================================================================
--- scummvm/trunk/engines/scumm/he/script_v70he.cpp	2007-06-01 01:33:49 UTC (rev 27035)
+++ scummvm/trunk/engines/scumm/he/script_v70he.cpp	2007-06-01 08:47:22 UTC (rev 27036)
@@ -461,6 +461,9 @@
 	case 164:
 		_heSndFlags |= 2;
 		break;
+	case 222:
+		// WORKAROUND: For errors in room script 240 (room 4) of maze
+		break;
 	case 224:
 		_heSndSoundFreq = pop();
 		break;


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