mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-23 22:49:09 +00:00
Codechange: Remove Company/OwnerByte types
This commit is contained in:
@@ -858,8 +858,7 @@ DEF_CONSOLE_CMD(ConNetworkReconnect)
|
||||
default:
|
||||
/* From a user pov 0 is a new company, internally it's different and all
|
||||
* companies are offset by one to ease up on users (eg companies 1-8 not 0-7) */
|
||||
playas--;
|
||||
if (playas < COMPANY_FIRST || playas >= MAX_COMPANIES) return false;
|
||||
if (playas < COMPANY_FIRST + 1 || playas > MAX_COMPANIES + 1) return false;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user