[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.88,1.89

Travis Howell kirben at users.sourceforge.net
Sat Jul 17 00:35:03 CEST 2004


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

Modified Files:
	scumm.cpp 
Log Message:

Don't remap arrow keys in later games.
Allow arrows keys to work in lander game of Dig again.


Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- scumm.cpp	16 Jul 2004 03:39:23 -0000	1.88
+++ scumm.cpp	17 Jul 2004 07:34:34 -0000	1.89
@@ -1774,7 +1774,7 @@
 						327, 328, 329
 					};
 				_keyPressed = numpad[event.kbd.ascii - '0'];
-			} else if (event.kbd.ascii < 273 || event.kbd.ascii > 276 || _gameId == GID_FT) {
+			} else if (event.kbd.ascii < 273 || event.kbd.ascii > 276 || _version >= 7) {
 				// don't let game have arrow keys as we currently steal them
 				// for keyboard cursor control
 				// this fixes bug with up arrow (273) corresponding to





More information about the Scummvm-git-logs mailing list