Fix for #1671426: MH2 : Doesn't recognize Enter for actions
|Reported by:||bluegr||Owned by:||sev-|
This is an attempt to fix bug #1671426: "MH2 : Doesn't recognize Enter for actions". I've observed that in MH1 and MH2, you can use the Space key to do actions and bypass videos (the "action key").
The original interpreter accepts either Space or the Enter key as the default action key. MH1 and MH2 differ from the rest of the AGI games in that they don't have text input and that the text input in them is (always?) set to INPUT_NONE (i.e. no text input).
With this patch, I'm changing the behavior of the Enter key to be the same as the Space key (like in the original interpreter) in MH1 and MH2, when the game input mode is set to INPUT_NONE (which is almost always in these two games). The Enter key works normally in the menus (e.g. when selecting a menu option, when saving a game etc).
This behaves exactly like the original interpreter
This patch already includes patch #1704575 (as they both change the same files)
Ticket imported from: #1704914. Ticket imported from: patches/746.