Changeset - r9667:ed8384e30512
[Not reviewed]
master
0 1 0
rubidium - 16 years ago 2008-07-20 13:29:59
rubidium@openttd.org
(svn r13754) -Fix (r13731): one could not join companies from the command line.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -626,13 +626,13 @@ int ttd_main(int argc, char *argv[])
 

	
 
			if (player != NULL) {
 
				_network_playas = (PlayerID)atoi(player);
 

	
 
				if (_network_playas != PLAYER_SPECTATOR) {
 
					_network_playas--;
 
					if (!IsValidPlayerID(_network_playas)) return false;
 
					if (_network_playas >= MAX_PLAYERS) return false;
 
				}
 
			}
 
			if (port != NULL) rport = atoi(port);
 

	
 
			LoadIntroGame();
 
			_switch_mode = SM_NONE;
0 comments (0 inline, 0 general)