Changeset - r16517:b5a17d333549
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-11-19 10:58:38
rubidium@openttd.org
(svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/openttd.cpp
Show inline comments
 
@@ -591,12 +591,13 @@ int ttd_main(int argc, char *argv[])
 
	 * internal drawing routines work correctly.
 
	 */
 
	_cur_resolution.width  = ClampU(_cur_resolution.width,  1, UINT16_MAX);
 
	_cur_resolution.height = ClampU(_cur_resolution.height, 1, UINT16_MAX);
 

	
 
#if defined(ENABLE_NETWORK)
 
	if (dedicated) DEBUG(net, 0, "Starting dedicated version %s", _openttd_revision);
 
	if (dedicated_host) {
 
		_network_bind_list.Clear();
 
		*_network_bind_list.Append() = strdup(dedicated_host);
 
	}
 
	if (dedicated_port) _settings_client.network.server_port = dedicated_port;
 
	if (_dedicated_forks && !dedicated) _dedicated_forks = false;
0 comments (0 inline, 0 general)