[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.591,2.592
Travis Howell
kirben at users.sourceforge.net
Thu Feb 26 22:08:02 CET 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3138/scumm
Modified Files:
scummvm.cpp
Log Message:
Don't reamp F1 in COMI demo
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.591
retrieving revision 2.592
diff -u -d -r2.591 -r2.592
--- scummvm.cpp 26 Feb 2004 03:13:20 -0000 2.591
+++ scummvm.cpp 27 Feb 2004 05:51:04 -0000 2.592
@@ -1597,7 +1597,7 @@
// because that's what MI2 looks for in
// its "instant win" cheat.
_keyPressed = event.kbd.keycode + 154;
- } else if (event.kbd.ascii == 315 && _gameId == GID_CMI) {
+ } else if (event.kbd.ascii == 315 && (_gameId == GID_CMI && !(_features & GF_DEMO))) {
// FIXME: support in-game menu screen. For now, this remaps F1 to F5 in COMI
_keyPressed = 319;
} else if (_gameId == GID_INDY4 && event.kbd.ascii >= '0' && event.kbd.ascii <= '9') {
More information about the Scummvm-git-logs
mailing list