From b6c74c1c2077ce0c4dcd525890ea739a807f1508 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 14 Dec 2004 20:27:00 +0000 Subject: (svn r1090) -Fix: Made the _openttd_revision variable global, and with that hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash --- network.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'network.c') diff --git a/network.c b/network.c index 836ccb6e0..c031051b6 100644 --- a/network.c +++ b/network.c @@ -785,16 +785,6 @@ bool NetworkClientConnectGame(const byte* host, unsigned short port) void NetworkInitGameInfo(void) { -#ifdef WITH_REV_HACK - #define WITH_REV - const char _openttd_revision[] = WITH_REV_HACK; -#else - #if defined(WITH_REV) - extern char _openttd_revision[]; - #else - const char _openttd_revision[] = "norev000"; - #endif -#endif NetworkClientInfo *ci; ttd_strlcpy(_network_game_info.server_name, _network_server_name, sizeof(_network_game_info.server_name)); -- cgit v1.2.3-54-g00ecf