Opened 4 months ago

Last modified 4 months ago

#11227 new defect

Fighting in Indy 3 with Keypad keys doesn't work correctly

Reported by: rsn8887 Owned by:
Priority: blocker Component: Engine: SCUMM
Keywords: Cc:
Game: Indiana Jones 3

Description

Indy 3 should allow fighting with KP_1 to KP_9 keys, but doesn't.

I suspect the offending code is some kind of partial hard-mapping of some keys like KEYCODE_KP4, KEYCODE_4 etc. in the file script_v6.cpp, line 2786
https://github.com/scummvm/scummvm/blob/ee2aa6160cdd393f15253ee564252f486d4f03bd/engines/scumm/script_v6.cpp#L2786

in the function ScummEngine::getKeyState

How has this gone unnoticed?

This affects gamepads too because dpad and R+dpad is mapped to keypad, which works for walking in Sierra games, but apparently not for fighting in Indy 3.

Change History (3)

comment:1 by rsn8887, 4 months ago

Tested on Linux and Switch

comment:2 by rsn8887, 4 months ago

Priority: highblocker

comment:3 by rsn8887, 4 months ago

It seems to work with number row keys, but not with keypad keys.

Note: See TracTickets for help on using tickets.