[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.297,1.298

James Brown ender at users.sourceforge.net
Tue Oct 11 22:47:32 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5505

Modified Files:
	script_v5.cpp 
Log Message:
Reverted default case error in o5_resourceRoutines to a warning, in order to workaround a fatal error in zak256 caused by a botched script load. See bug #1290485


Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -d -r1.297 -r1.298
--- script_v5.cpp	2 Oct 2005 01:26:53 -0000	1.297
+++ script_v5.cpp	12 Oct 2005 05:46:56 -0000	1.298
@@ -1820,7 +1820,9 @@
 		break;
 
 	default:
-		error("o5_resourceRoutines: default case %d", op);
+		// FIXME: Reverted to a warning from an error, as per
+		// zak256 bug #1290485. This is not a proper fix. :)
+		warning("o5_resourceRoutines: default case %d", op);
 	}
 }
 





More information about the Scummvm-git-logs mailing list