1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 12:39:11 +00:00

(svn r23579) -Fix (r23525): Most up/down arrows stopped working.

This commit is contained in:
frosch
2011-12-17 20:52:07 +00:00
parent 82469946ab
commit 4e4a87bd3c
3 changed files with 7 additions and 7 deletions

View File

@@ -1087,7 +1087,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
case WID_NSS_COMPANIES_BTND: case WID_NSS_COMPANIES_BTNU: // Click on up/down button for number of companies
case WID_NSS_SPECTATORS_BTND: case WID_NSS_SPECTATORS_BTNU: // Click on up/down button for number of spectators
/* Don't allow too fast scrolling */
if ((this->flags & WF_TIMEOUT) && this->timeout_timer <= 1) {
if (!(this->flags & WF_TIMEOUT) || this->timeout_timer <= 1) {
this->HandleButtonClick(widget);
this->SetDirty();
switch (widget) {