(svn r8949) -Codechange: only test the first NETWORK_REVISION_LENGTH - 1 characters when determining network compatability. This makes it possible to have 'long' branch names while still being able to play network games.

This commit is contained in:
rubidium
2007-03-01 00:58:09 +00:00
parent 3dc71e3484
commit 66487d59fd
4 changed files with 17 additions and 6 deletions

View File

@@ -178,6 +178,8 @@ bool NetworkClientConnectGame(const char *host, uint16 port);
void NetworkReboot(void);
void NetworkDisconnect(void);
bool IsNetworkCompatibleVersion(const char *version);
VARDEF bool _network_server; ///< network-server is active
VARDEF bool _network_available; ///< is network mode available?
VARDEF bool _network_dedicated; ///< are we a dedicated server?