diff options
author | rubidium <rubidium@openttd.org> | 2008-05-09 09:29:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-09 09:29:27 +0000 |
commit | 0f7d925121beb1033917918478c7d213305de595 (patch) | |
tree | 3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/toolbar_gui.cpp | |
parent | edc756697eb51474fdf0bad5c64056cf5d12d377 (diff) | |
download | openttd-0f7d925121beb1033917918478c7d213305de595.tar.xz |
(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r-- | src/toolbar_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp index 17061c005..43b34dce9 100644 --- a/src/toolbar_gui.cpp +++ b/src/toolbar_gui.cpp @@ -745,7 +745,7 @@ static void MainToolbarWndProc(Window *w, WindowEvent *e) w->SetDirty(); break; - case WE_MOUSELOOP: + case WE_TICK: if (w->IsWidgetLowered(0) != !!_pause_game) { w->ToggleWidgetLoweredState(0); w->InvalidateWidget(0); @@ -1017,7 +1017,7 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e) } } break; - case WE_MOUSELOOP: + case WE_TICK: if (w->IsWidgetLowered(0) != !!_pause_game) { w->ToggleWidgetLoweredState(0); w->SetDirty(); |