From 611a9f200785885a29447f4fd138220283a8dcd0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 19 Nov 2010 10:58:38 +0000 Subject: [PATCH] (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 --- src/openttd.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openttd.cpp b/src/openttd.cpp index 95309b23c3..73c3b2e5bf 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -594,6 +594,7 @@ int ttd_main(int argc, char *argv[]) _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);