mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-09 19:10:38 +00:00
(svn r13754) -Fix (r13731): one could not join companies from the command line.
This commit is contained in:
parent
b607b51d93
commit
77fdefea19
@ -629,7 +629,7 @@ int ttd_main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (_network_playas != PLAYER_SPECTATOR) {
|
if (_network_playas != PLAYER_SPECTATOR) {
|
||||||
_network_playas--;
|
_network_playas--;
|
||||||
if (!IsValidPlayerID(_network_playas)) return false;
|
if (_network_playas >= MAX_PLAYERS) return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (port != NULL) rport = atoi(port);
|
if (port != NULL) rport = atoi(port);
|
||||||
|
Loading…
Reference in New Issue
Block a user