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 78827f0ea2
commit fdcbe71317

View File

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