[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.577.2.21,2.577.2.22

Travis Howell kirben at users.sourceforge.net
Sat Jul 17 01:50:03 CEST 2004


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

Modified Files:
      Tag: branch-0-6-0
	scummvm.cpp 
Log Message:

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


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/Attic/scummvm.cpp,v
retrieving revision 2.577.2.21
retrieving revision 2.577.2.22
diff -u -d -r2.577.2.21 -r2.577.2.22
--- scummvm.cpp	17 Jul 2004 08:27:55 -0000	2.577.2.21
+++ scummvm.cpp	17 Jul 2004 08:49:38 -0000	2.577.2.22
@@ -1643,7 +1643,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