diff options
author | rubidium <rubidium@openttd.org> | 2008-09-23 15:24:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-09-23 15:24:15 +0000 |
commit | f49d5057ee811da59d2fb57df9e67760aeac17d8 (patch) | |
tree | 5750d793f5ad84cfe126c7054b76cb5950f64300 /src/network/network_gui.cpp | |
parent | d49381e5c9e3d22a4f85ebd725a8faf6d2ab9e5a (diff) | |
download | openttd-f49d5057ee811da59d2fb57df9e67760aeac17d8.tar.xz |
(svn r14390) -Codechange: replace magic constants with symbolic constants.
Diffstat (limited to 'src/network/network_gui.cpp')
-rw-r--r-- | src/network/network_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index 5b8434424..2340bbd0b 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -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) { |