1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-20 13:54:14 +01:00

Update Insurgency detection to not rely on -game parameter.

This commit is contained in:
Nicholas Hastings 2013-10-24 13:24:31 -04:00
parent ec1acb2738
commit 835d9cc964

View File

@ -279,7 +279,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, const char *game_name)
}
else if (engineFactory("VEngineServer023", NULL) != NULL)
{
if (strcmp(game_name, "insurgency") == 0)
if (engineFactory("IEngineSoundServer004", NULL) != NULL)
{
return MMBackend_Insurgency;
}