(svn r6816) -Codechange: Some coding style, variable localization, const correctness.

-Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState
This commit is contained in:
Darkvater
2006-10-17 23:34:12 +00:00
parent 1fedb05cca
commit 33bdf3c701
10 changed files with 139 additions and 200 deletions

View File

@@ -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;
}
}