(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
authorrubidium
Tue, 10 Jul 2007 07:46:58 +0000
changeset 7716 d8fb9226bae4
parent 7715 a3c6b34ccda6
child 7717 0feae2eb5f40
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
config.lib
src/network/network.cpp
--- a/config.lib	Tue Jul 10 07:10:23 2007 +0000
+++ b/config.lib	Tue Jul 10 07:46:58 2007 +0000
@@ -697,9 +697,9 @@
 			log 1 "checking revision... no detection"
 			log 1 "WARNING: there is no means to determine the version."
 			log 1 "WARNING: please use a subversion or git checkout of OpenTTD."
-			log 1 "WARNING: this version will be allowed by all game servers,"
-			log 1 "WARNING: but you will be kicked from all incompatible"
-			log 1 "WARNING: servers as you will desync."
+			log 1 "WARNING: this version is only allowed by game servers that"
+			log 1 "WARNING: have been compiled without version detection."
+			log 1 "WARNING: there is a great chance you desync."
 			log 1 "WARNING: USE WITH CAUTION!"
 
 			sleep 5
--- a/src/network/network.cpp	Tue Jul 10 07:10:23 2007 +0000
+++ b/src/network/network.cpp	Tue Jul 10 07:46:58 2007 +0000
@@ -1470,8 +1470,7 @@
 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