Changed: Useless code because all clients will be able to patch themselve
--HG-- branch : develop
This commit is contained in:
parent
149adc351a
commit
3984309945
1 changed files with 0 additions and 13 deletions
|
@ -2400,19 +2400,6 @@ void CCheckThread::run ()
|
||||||
fromString(sServerVersion, nServerVersion);
|
fromString(sServerVersion, nServerVersion);
|
||||||
fromString(sClientVersion, nClientVersion);
|
fromString(sClientVersion, nClientVersion);
|
||||||
|
|
||||||
#ifdef NL_OS_UNIX
|
|
||||||
string sClientNewVersion = ClientCfg.BuildName;
|
|
||||||
|
|
||||||
sint32 nClientNewVersion;
|
|
||||||
fromString(sClientNewVersion, nClientNewVersion);
|
|
||||||
|
|
||||||
// servers files are not compatible with current client, use last client version
|
|
||||||
if (nClientNewVersion && nServerVersion > nClientNewVersion)
|
|
||||||
{
|
|
||||||
nServerVersion = nClientNewVersion;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (nClientVersion != nServerVersion)
|
if (nClientVersion != nServerVersion)
|
||||||
{
|
{
|
||||||
// first, try in the version subdirectory
|
// first, try in the version subdirectory
|
||||||
|
|
Loading…
Reference in a new issue