diff options
author | peter1138 <peter1138@openttd.org> | 2008-05-29 11:47:56 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-05-29 11:47:56 +0000 |
commit | 2a816fb685b373e38347f809bcdc7f2fdef0139c (patch) | |
tree | bcd6e1576c7d25e43afbfad51e47855681fd45ee /src/player_gui.cpp | |
parent | 22d7b252968f5ffecb15817051c2837a97563aa9 (diff) | |
download | openttd-2a816fb685b373e38347f809bcdc7f2fdef0139c.tar.xz |
(svn r13323) -Codechange: scrollbars are not refresh counters
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 57b4e3c8a..68e1bd3fb 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -1304,10 +1304,10 @@ struct PlayerCompanyWindow : Window } } - virtual void OnTick() + virtual void OnHundredthTick() { /* redraw the window every now and then */ - if ((++this->vscroll.pos & 0x1F) == 0) this->SetDirty(); + this->SetDirty(); } virtual void OnPlaceObject(Point pt, TileIndex tile) |