[Scummvm-cvs-logs] CVS: scummvm/sword2 save_rest.cpp,1.51,1.52

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Sun Mar 28 05:25:06 CEST 2004


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

Modified Files:
	save_rest.cpp 
Log Message:
Force the engine to pick a cursor after restoring a game. This appears to
be needed when using the -x command-line option to restore a game, though
I'm not quite sure why.


Index: save_rest.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/save_rest.cpp,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- save_rest.cpp	27 Mar 2004 12:07:06 -0000	1.51
+++ save_rest.cpp	28 Mar 2004 13:13:16 -0000	1.52
@@ -247,6 +247,9 @@
 		_memory->freeMemory(saveBufferMem);
 	}
 
+	// Force the game engine to pick a cursor. This appears to be needed
+	// when using the -x command-line option to restore a game.
+	_mouseTouching = 1;
 	return errorCode;
 }
 





More information about the Scummvm-git-logs mailing list