mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-24 06:59:10 +00:00
(svn r1090) -Fix: Made the _openttd_revision variable global, and with that
hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash
This commit is contained in:
@@ -20,15 +20,6 @@ static byte *_langpack;
|
||||
static uint _langtab_num[32]; // Offset into langpack offs
|
||||
static uint _langtab_start[32]; // Offset into langpack offs
|
||||
|
||||
#ifdef WITH_REV_HACK
|
||||
#define WITH_REV
|
||||
const char _openttd_revision[] = WITH_REV_HACK;
|
||||
#else
|
||||
#ifdef WITH_REV
|
||||
extern const char _openttd_revision[];
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef byte *PlayerNameGeneratorProc(byte *buffr);
|
||||
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user