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/smallmap_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/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index 5ea843f4f..11d9f8435 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -982,7 +982,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e) } break; - case WE_MOUSELOOP: + case WE_TICK: /* update the window every now and then */ if ((++w->vscroll.pos & 0x1F) == 0) w->SetDirty(); break; |