1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 04:29:09 +00:00

(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.

This commit is contained in:
rubidium
2007-07-10 07:46:58 +00:00
parent 0f2d37a113
commit e1bdad1e57
2 changed files with 4 additions and 5 deletions

View File

@@ -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