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 | f4387004025efb3860a2934ed6d82a7e6f1cd716 (patch) | |
tree | 3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/toolbar_gui.cpp | |
parent | 486172e07f92f4ac4a9602cf47568d0e1d3cf9bb (diff) | |
download | openttd-f4387004025efb3860a2934ed6d82a7e6f1cd716.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(); |