mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-14 05:04:50 +00:00
Changed: Useless code because all clients will be able to patch themselve
This commit is contained in:
parent
185f4bcc11
commit
14517116a4
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