src/network/network_gui.cpp
changeset 10180 a99cf854c6d0
parent 10145 849ba8b8626b
child 10207 c291a21b304e
equal deleted inserted replaced
10179:8d79cda44991 10180:a99cf854c6d0
   853 
   853 
   854 			case NSSW_CLIENTS_BTND:    case NSSW_CLIENTS_BTNU:    // Click on up/down button for number of clients
   854 			case NSSW_CLIENTS_BTND:    case NSSW_CLIENTS_BTNU:    // Click on up/down button for number of clients
   855 			case NSSW_COMPANIES_BTND:  case NSSW_COMPANIES_BTNU:  // Click on up/down button for number of companies
   855 			case NSSW_COMPANIES_BTND:  case NSSW_COMPANIES_BTNU:  // Click on up/down button for number of companies
   856 			case NSSW_SPECTATORS_BTND: case NSSW_SPECTATORS_BTNU: // Click on up/down button for number of spectators
   856 			case NSSW_SPECTATORS_BTND: case NSSW_SPECTATORS_BTNU: // Click on up/down button for number of spectators
   857 				/* Don't allow too fast scrolling */
   857 				/* Don't allow too fast scrolling */
   858 				if ((this->flags4 & WF_TIMEOUT_MASK) <= 2 << WF_TIMEOUT_SHL) {
   858 				if ((this->flags4 & WF_TIMEOUT_MASK) <= WF_TIMEOUT_TRIGGER) {
   859 					this->HandleButtonClick(widget);
   859 					this->HandleButtonClick(widget);
   860 					this->SetDirty();
   860 					this->SetDirty();
   861 					switch (widget) {
   861 					switch (widget) {
   862 						default: NOT_REACHED();
   862 						default: NOT_REACHED();
   863 						case NSSW_CLIENTS_BTND: case NSSW_CLIENTS_BTNU:
   863 						case NSSW_CLIENTS_BTND: case NSSW_CLIENTS_BTNU: