diff options
author | Travis Howell | 2004-02-27 05:51:04 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-27 05:51:04 +0000 |
commit | bfd65070c5770fff5062c17242ba3ad46263ec8b (patch) | |
tree | 7a4b2818b0e85cae858c8678e5e09ca4f3ac9d68 | |
parent | 3a6646b59872e651b52cba0b68890cb290e113b1 (diff) | |
download | scummvm-rg350-bfd65070c5770fff5062c17242ba3ad46263ec8b.tar.gz scummvm-rg350-bfd65070c5770fff5062c17242ba3ad46263ec8b.tar.bz2 scummvm-rg350-bfd65070c5770fff5062c17242ba3ad46263ec8b.zip |
Don't reamp F1 in COMI demo
svn-id: r13067
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 1618a1c95f..721004b1f9 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1597,7 +1597,7 @@ void ScummEngine::parseEvents() { // 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') { |