diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/gfx/gfx_driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp index 2464433e12..6304abfd5e 100644 --- a/engines/sci/gfx/gfx_driver.cpp +++ b/engines/sci/gfx/gfx_driver.cpp @@ -395,7 +395,7 @@ static sci_event_t scummvm_get_event(struct _gfx_driver *drv) { // SCI_K_SHIFT_F1 == 84 << 8 input.data = SCI_K_F1 + ((input.data - Common::KEYCODE_F1)<<8); if (input.buckybits & (SCI_EVM_LSHIFT | SCI_EVM_RSHIFT)) - input.character = input.data + ((SCI_K_SHIFT_F1 - SCI_K_F1) << 8); + input.character = input.data + SCI_K_SHIFT_F1 - SCI_K_F1; else input.character = input.data; } else { |