forked from mirror/OpenTTD
(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
This commit is contained in:
@@ -426,13 +426,6 @@ VARDEF int _debug_grf_level;
|
||||
VARDEF int _debug_ai_level;
|
||||
VARDEF int _debug_net_level;
|
||||
|
||||
/* Make the revision tag global */
|
||||
extern const char _openttd_revision[];
|
||||
#ifdef WITH_REV_HACK
|
||||
/* Special rules for Windows */
|
||||
#define WITH_REV
|
||||
#endif
|
||||
|
||||
void CDECL debug(const char *s, ...);
|
||||
#ifdef NO_DEBUG_MESSAGES
|
||||
#define DEBUG(name, level)
|
||||
|
Reference in New Issue
Block a user