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:
parent
ec1acb2738
commit
835d9cc964
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user