(svn r1042) -Fix: [Network] Hopefully enabled revision-check for windows (somehow

windows uses WITH_REV_HACK instead of WITH_REV :s)
This commit is contained in:
truelight
2004-12-13 09:01:24 +00:00
parent 523b37a3e9
commit c0603e4768
5 changed files with 28 additions and 8 deletions

View File

@@ -56,10 +56,15 @@ DEF_CLIENT_SEND_COMMAND(PACKET_CLIENT_JOIN)
// String: Unique id to find the player back in server-listing
//
#if defined(WITH_REV)
extern char _openttd_revision[];
#ifdef WITH_REV_HACK
#define WITH_REV
const char _openttd_revision[] = WITH_REV_HACK;
#else
#if defined(WITH_REV)
extern char _openttd_revision[];
#else
const char _openttd_revision[] = "norev000";
#endif
#endif
Packet *p;
_network_join_status = NETWORK_JOIN_STATUS_AUTHORIZING;