Use new IVEngineServer::GetIServer to get IServer* on Insurgency.
This commit is contained in:
parent
b52b5f46f0
commit
5f7e800444
@ -215,9 +215,12 @@ void GetIServer()
|
|||||||
|| SOURCE_ENGINE == SE_DODS \
|
|| SOURCE_ENGINE == SE_DODS \
|
||||||
|| SOURCE_ENGINE == SE_HL2DM \
|
|| SOURCE_ENGINE == SE_HL2DM \
|
||||||
|| SOURCE_ENGINE == SE_CSS \
|
|| SOURCE_ENGINE == SE_CSS \
|
||||||
|| SOURCE_ENGINE == SE_SDK2013
|
|| SOURCE_ENGINE == SE_SDK2013 \
|
||||||
|
|| SOURCE_ENGINE == SE_INSURGENCY
|
||||||
|
|
||||||
|
#if SOURCE_ENGINE != SE_INSURGENCY
|
||||||
if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", nullptr))
|
if (g_SMAPI->GetEngineFactory(false)("VEngineServer022", nullptr))
|
||||||
|
#endif // !SE_INSURGENCY
|
||||||
{
|
{
|
||||||
iserver = engine->GetIServer();
|
iserver = engine->GetIServer();
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user