mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r9595) -Fix (r9563): Transparency hotkeys didn't work
This commit is contained in:
parent
e735e8261f
commit
71d6f5c598
@ -2341,7 +2341,7 @@ static void MainWindowWndProc(Window *w, WindowEvent *e)
|
||||
case '6' | WKC_CTRL:
|
||||
case '7' | WKC_CTRL:
|
||||
/* Transparency toggle hot keys */
|
||||
TOGGLEBIT(_transparent_opt, e->we.keypress.key - '1');
|
||||
TOGGLEBIT(_transparent_opt, e->we.keypress.keycode - ('1' | WKC_CTRL));
|
||||
MarkWholeScreenDirty();
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user