summaryrefslogtreecommitdiff
path: root/network_client.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-14 20:27:00 +0000
committertruelight <truelight@openttd.org>2004-12-14 20:27:00 +0000
commitb0fa342aaaae58f21d4576bd4d77f41d7abe0477 (patch)
tree414a017a79ae9c8b05c4483bd6e6130f2b814562 /network_client.c
parentaf2f6830d03b0496c84b3241d08669e3a50e9b0c (diff)
downloadopenttd-b0fa342aaaae58f21d4576bd4d77f41d7abe0477.tar.xz
(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
Diffstat (limited to 'network_client.c')
-rw-r--r--network_client.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/network_client.c b/network_client.c
index dc512c545..747464425 100644
--- a/network_client.c
+++ b/network_client.c
@@ -56,16 +56,6 @@ DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_JOIN)
// String: Unique id to find the player back in server-listing
//
-#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
Packet *p;
_network_join_status = NETWORK_JOIN_STATUS_AUTHORIZING;
InvalidateWindow(WC_NETWORK_STATUS_WINDOW, 0);