Use new IVEngineServer::GetIServer to get IServer* on Insurgency.

This commit is contained in:
Nicholas Hastings 2015-02-22 15:16:26 -05:00
parent b52b5f46f0
commit 5f7e800444

View File

@ -215,9 +215,12 @@ void GetIServer()
|| SOURCE_ENGINE == SE_DODS \
|| SOURCE_ENGINE == SE_HL2DM \
|| 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))
#endif // !SE_INSURGENCY
{
iserver = engine->GetIServer();
return;