summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-10 07:46:58 +0000
committerrubidium <rubidium@openttd.org>2007-07-10 07:46:58 +0000
commite1bdad1e57f076f868af592ab0d68a12b37e94ef (patch)
treeea73554e9404d5f8f31138ceb661b6da5ebb8e24 /src
parent0f2d37a1132c813d5dccf358daa13bfae61cebbb (diff)
downloadopenttd-e1bdad1e57f076f868af592ab0d68a12b37e94ef.tar.xz
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
Diffstat (limited to 'src')
-rw-r--r--src/network/network.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp
index 5b7ab937c..afb217ed2 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -1470,8 +1470,7 @@ void NetworkShutDown()
bool IsNetworkCompatibleVersion(const char *other)
{
extern const char _openttd_revision[];
- return strncmp(NOREV_STRING, other, NETWORK_REVISION_LENGTH - 1) == 0 ||
- strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0;
+ return strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0;
}
#ifdef DEBUG_DUMP_COMMANDS