Skip to content

Commit

Permalink
Update Insurgency detection to not rely on -game parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic committed Oct 24, 2013
1 parent ec1acb2 commit 835d9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loader/loader.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 835d9cc

Please sign in to comment.