(svn r13323) -Codechange: scrollbars are not refresh counters
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user