diff options
author | peter1138 <peter1138@openttd.org> | 2007-04-11 20:03:05 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-04-11 20:03:05 +0000 |
commit | 71d6f5c5983cd0241866c1696828c79c651677f9 (patch) | |
tree | 77587305799a646e768961818ffd526e756449eb | |
parent | e735e8261f863d69ed772a544c066fb6db70a5b6 (diff) | |
download | openttd-71d6f5c5983cd0241866c1696828c79c651677f9.tar.xz |
(svn r9595) -Fix (r9563): Transparency hotkeys didn't work
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index eb039bb95..a2af5eb22 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -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; |