mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 20:49:11 +00:00
(svn r14390) -Codechange: replace magic constants with symbolic constants.
This commit is contained in:
@@ -855,7 +855,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow {
|
||||
case NSSW_COMPANIES_BTND: case NSSW_COMPANIES_BTNU: // Click on up/down button for number of companies
|
||||
case NSSW_SPECTATORS_BTND: case NSSW_SPECTATORS_BTNU: // Click on up/down button for number of spectators
|
||||
/* Don't allow too fast scrolling */
|
||||
if ((this->flags4 & WF_TIMEOUT_MASK) <= 2 << WF_TIMEOUT_SHL) {
|
||||
if ((this->flags4 & WF_TIMEOUT_MASK) <= WF_TIMEOUT_TRIGGER) {
|
||||
this->HandleButtonClick(widget);
|
||||
this->SetDirty();
|
||||
switch (widget) {
|
||||
|
Reference in New Issue
Block a user