summaryrefslogtreecommitdiff
path: root/openttd.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-10-17 23:34:12 +0000
committerDarkvater <darkvater@openttd.org>2006-10-17 23:34:12 +0000
commite97d801d9255d405690141cffc5e3488bb419273 (patch)
tree60abaed2f57035730d0ffc371d9915b76b3426c2 /openttd.c
parent7cdf6f0aff61598ec5d38dc3826ce6d1252248f5 (diff)
downloadopenttd-e97d801d9255d405690141cffc5e3488bb419273.tar.xz
(svn r6816) -Codechange: Some coding style, variable localization, const correctness.
-Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState
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;
}
}