mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-13 21:20:58 +00:00
Fixed Indy 3 fighting in the "Passport to Adventure" demo. Apparently it
expects the same keyboard mapping as FOA does. svn-id: r17578
This commit is contained in:
parent
c9388604a3
commit
75f6aa850b
@ -369,10 +369,12 @@ void ScummEngine::checkExecVerbs() {
|
||||
}
|
||||
}
|
||||
|
||||
if (_gameId == GID_INDY4 && _mouseButStat >= '0' && _mouseButStat <= '9') {
|
||||
if ((_gameId == GID_INDY4 || _gameId == GID_PASS) && _mouseButStat >= '0' && _mouseButStat <= '9') {
|
||||
// To support keyboard fighting in FOA, we need to remap the number keys.
|
||||
// FOA apparently expects PC scancode values (see script 46 if you want
|
||||
// to know where I got these numbers from).
|
||||
// to know where I got these numbers from). Oddly enough, the The Indy 3
|
||||
// part of the "Passport to Adventure" demo expects the same keyboard
|
||||
// mapping, even though the full game doesn't.
|
||||
static const int numpad[10] = {
|
||||
'0',
|
||||
335, 336, 337,
|
||||
|
Loading…
x
Reference in New Issue
Block a user