forked from mirror/OpenTTD
(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:
@@ -785,10 +785,15 @@ bool NetworkClientConnectGame(const byte* host, unsigned short port)
|
||||
|
||||
void NetworkInitGameInfo(void)
|
||||
{
|
||||
#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
|
||||
NetworkClientInfo *ci;
|
||||
|
||||
|
Reference in New Issue
Block a user