mirror of https://github.com/OpenTTD/OpenTTD
(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
parent
ab44c91778
commit
611a9f2007
|
@ -594,6 +594,7 @@ int ttd_main(int argc, char *argv[])
|
||||||
_cur_resolution.height = ClampU(_cur_resolution.height, 1, UINT16_MAX);
|
_cur_resolution.height = ClampU(_cur_resolution.height, 1, UINT16_MAX);
|
||||||
|
|
||||||
#if defined(ENABLE_NETWORK)
|
#if defined(ENABLE_NETWORK)
|
||||||
|
if (dedicated) DEBUG(net, 0, "Starting dedicated version %s", _openttd_revision);
|
||||||
if (dedicated_host) {
|
if (dedicated_host) {
|
||||||
_network_bind_list.Clear();
|
_network_bind_list.Clear();
|
||||||
*_network_bind_list.Append() = strdup(dedicated_host);
|
*_network_bind_list.Append() = strdup(dedicated_host);
|
||||||
|
|
Loading…
Reference in New Issue