summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
Diffstat (limited to 'openttd.c')
-rw-r--r--openttd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openttd.c b/openttd.c
index 078f55699..ba7cddcd5 100644
--- a/openttd.c
+++ b/openttd.c
@@ -484,8 +484,8 @@ int ttd_main(int argc, char *argv[])
if (player != NULL) {
_network_playas = atoi(player);
- if (_network_playas != PLAYER_SPECTATOR) {
- _network_playas--;
+ if (_network_playas != PLAYER_SPECTATOR) {
+ _network_playas--;
if (!IsValidPlayer(_network_playas)) return false;
}
}