(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:
darkvater
2004-12-15 00:31:08 +00:00
parent bc13fd26d5
commit c21659ae7e
11 changed files with 55 additions and 68 deletions

View File

@@ -783,6 +783,8 @@ bool NetworkClientConnectGame(const byte* host, unsigned short port)
return _networking;
}
extern const char _openttd_revision[];
void NetworkInitGameInfo(void)
{
NetworkClientInfo *ci;