mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
cb12a7546a
commit
e7d490d9a8
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ void CPatchManager::init(const std::vector<std::string>& patchURIs, const std::s
|
||||||
}
|
}
|
||||||
|
|
||||||
srand(NLMISC::CTime::getSecondsSince1970());
|
srand(NLMISC::CTime::getSecondsSince1970());
|
||||||
UsedServer = (sint)((float)(rand() / (RAND_MAX+1)) * (sint)PatchServers.size());
|
UsedServer = (sint)(((double)rand() / ((double)RAND_MAX+1.0)) * (double)PatchServers.size());
|
||||||
|
|
||||||
ServerPath = CPath::standardizePath (sServerPath);
|
ServerPath = CPath::standardizePath (sServerPath);
|
||||||
ServerVersion = sServerVersion;
|
ServerVersion = sServerVersion;
|
||||||
|
|
Loading…
Reference in a new issue