summaryrefslogtreecommitdiff
path: root/src/town_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
commitf4387004025efb3860a2934ed6d82a7e6f1cd716 (patch)
tree3a614e86500df9bd4d6ff37cbc44cca603933d88 /src/town_gui.cpp
parent486172e07f92f4ac4a9602cf47568d0e1d3cf9bb (diff)
downloadopenttd-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/town_gui.cpp')
-rw-r--r--src/town_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index 283cd448c..83a487659 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -252,7 +252,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
}
break;
- case WE_4:
+ case WE_100_TICKS:
w->SetDirty();
break;
}
@@ -555,7 +555,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e)
}
break;
- case WE_4:
+ case WE_100_TICKS:
w->SetDirty();
break;