Ignore ReHLDS initialization on listenserver (#425)

* Remove duplicated files

* Ignore ReHLDS initialization if not a dedicated server
This commit is contained in:
Vincent Herbet
2017-03-19 14:12:07 +01:00
committed by GitHub
parent 9551c70c59
commit da80667fb0
9 changed files with 5 additions and 2163 deletions

View File

@ -9,6 +9,11 @@ IRehldsServerStatic* RehldsSvs;
bool RehldsApi_Init()
{
if (!IS_DEDICATED_SERVER())
{
return false;
}
#if defined(PLATFORM_WINDOWS)
auto library = "swds";
#elif defined(PLATFORM_POSIX)