summaryrefslogtreecommitdiff
path: root/src/network/network.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-12 07:11:48 +0000
committerrubidium <rubidium@openttd.org>2007-09-12 07:11:48 +0000
commite9924421bf53275ccdcf7d9ecd15e584dee6ad35 (patch)
tree2a8a491bac20ead349d11179cf161aaf43c0cb74 /src/network/network.cpp
parentccf13f3cccf6216393b2f6c893146ece86c078d0 (diff)
downloadopenttd-e9924421bf53275ccdcf7d9ecd15e584dee6ad35.tar.xz
(svn r11089) -Codechange: add revision detection to MSVC.
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r--src/network/network.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 0752b0fd8..828fc3ee0 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -3,15 +3,7 @@
#include "../stdafx.h"
#include "network_data.h"
-#if defined(WITH_REV)
- extern const char _openttd_revision[];
-#elif defined(WITH_REV_HACK)
- #define WITH_REV
- extern const char _openttd_revision[] = WITH_REV_HACK;
-#else
- extern const char _openttd_revision[] = NOREV_STRING;
-#endif
-
+extern const char _openttd_revision[];
#ifdef ENABLE_NETWORK
@@ -1463,8 +1455,6 @@ void NetworkShutDown()
/**
* Checks whether the given version string is compatible with our version.
- * It'll check the first NETWORK_REVISION_LENGTH - 1 characters (-1 for '\0')
- * against the current version and the NOREV_STRING.
* @param other the version string to compare to
*/
bool IsNetworkCompatibleVersion(const char *other)