(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:
darkvater
2004-12-15 16:51:55 +00:00
parent 29b844a408
commit f1b6b1711b
5 changed files with 14 additions and 8 deletions

View File

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