[Scummvm-cvs-logs] CVS: scummvm/sword2 logic.h,1.15,1.16

Max Horn fingolfin at users.sourceforge.net
Wed Nov 5 13:25:30 CET 2003


Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1:/tmp/cvs-serv27636

Modified Files:
	logic.h 
Log Message:
setup opcode table *before* using it to avoid crashes :-)

Index: logic.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/logic.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- logic.h	4 Nov 2003 18:02:49 -0000	1.15
+++ logic.h	5 Nov 2003 20:42:33 -0000	1.16
@@ -170,8 +170,8 @@
 		  _speechScriptWaiting(0), _speechTextBlocNo(0),
 		  _choosing(false), _unpauseZone(0) {
 		memset(_subjectList, 0, sizeof(_subjectList));
-		initStartMenu();
 		setupOpcodes();
+		initStartMenu();
 	}
 
 	// "TEXT" - current official text line number - will match the wav





More information about the Scummvm-git-logs mailing list