summaryrefslogtreecommitdiff
path: root/src/settings_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-09 09:29:27 +0000
committerrubidium <rubidium@openttd.org>2008-05-09 09:29:27 +0000
commit0f7d925121beb1033917918478c7d213305de595 (patch)
tree3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/settings_gui.cpp
parentedc756697eb51474fdf0bad5c64056cf5d12d377 (diff)
downloadopenttd-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/settings_gui.cpp')
-rw-r--r--src/settings_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index 3ce65d5ab..5145644f6 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -655,7 +655,7 @@ static void GameDifficultyWndProc(Window *w, WindowEvent *e)
break;
} break;
- case WE_MOUSELOOP: /* Handle the visual 'clicking' of the buttons */
+ case WE_TICK: /* Handle the visual 'clicking' of the buttons */
if (diffic_d->timeout != 0) {
diffic_d->timeout--;
if (diffic_d->timeout == 0) diffic_d->clicked_button = NO_SETTINGS_BUTTON;