mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-01 01:25:47 +03:00
fix conflict interfaces vgui.dll & swds.dll (fix listenserver crash) (#206)
This commit is contained in:
parent
97aea0f397
commit
cfeb51fff6
@ -8,6 +8,11 @@ IRehldsServerStatic* g_RehldsSvs;
|
|||||||
|
|
||||||
bool RehldsApi_Init()
|
bool RehldsApi_Init()
|
||||||
{
|
{
|
||||||
|
if (!IS_DEDICATED_SERVER())
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
CSysModule* engineModule = Sys_LoadModule("swds.dll");
|
CSysModule* engineModule = Sys_LoadModule("swds.dll");
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user