summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-15 16:51:55 +0000
committerdarkvater <darkvater@openttd.org>2004-12-15 16:51:55 +0000
commitf1b6b1711bc2ab0f0de7ca1015904cb0189a4016 (patch)
tree7aee161883267b842fdb10a45d7d9bb1895e5fea /network.c
parent29b844a408c3aaaf747f63b377bbfe15c597551f (diff)
downloadopenttd-f1b6b1711bc2ab0f0de7ca1015904cb0189a4016.tar.xz
(svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
Diffstat (limited to 'network.c')
-rw-r--r--network.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/network.c b/network.c
index 06ee8b9ac..4c1019339 100644
--- a/network.c
+++ b/network.c
@@ -1,6 +1,16 @@
#include "stdafx.h"
#include "network_data.h"
+#if defined(WITH_REV)
+ extern const char _openttd_revision[];
+#elif defined(WITH_REV_HACK)
+ #define WITH_REV
+ const char _openttd_revision[] = WITH_REV_HACK;
+#else
+ const char _openttd_revision[] = NOREV_STRING;
+#endif
+
+
#ifdef ENABLE_NETWORK
#include "table/strings.h"