equal
deleted
inserted
replaced
1468 * @param other the version string to compare to |
1468 * @param other the version string to compare to |
1469 */ |
1469 */ |
1470 bool IsNetworkCompatibleVersion(const char *other) |
1470 bool IsNetworkCompatibleVersion(const char *other) |
1471 { |
1471 { |
1472 extern const char _openttd_revision[]; |
1472 extern const char _openttd_revision[]; |
1473 return strncmp(NOREV_STRING, other, NETWORK_REVISION_LENGTH - 1) == 0 || |
1473 return strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0; |
1474 strncmp(_openttd_revision, other, NETWORK_REVISION_LENGTH - 1) == 0; |
|
1475 } |
1474 } |
1476 |
1475 |
1477 #ifdef DEBUG_DUMP_COMMANDS |
1476 #ifdef DEBUG_DUMP_COMMANDS |
1478 void CDECL debug_dump_commands(const char *s, ...) |
1477 void CDECL debug_dump_commands(const char *s, ...) |
1479 { |
1478 { |