forked from mirror/OpenTTD
(svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
This commit is contained in:
10
network.c
10
network.c
@@ -1,6 +1,16 @@
|
||||
#include "stdafx.h"
|
||||
#include "network_data.h"
|
||||
|
||||
#if defined(WITH_REV)
|
||||
extern const char _openttd_revision[];
|
||||
#elif defined(WITH_REV_HACK)
|
||||
#define WITH_REV
|
||||
const char _openttd_revision[] = WITH_REV_HACK;
|
||||
#else
|
||||
const char _openttd_revision[] = NOREV_STRING;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
||||
#include "table/strings.h"
|
||||
|
Reference in New Issue
Block a user