mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 02:18:30 +00:00
Update Insurgency detection to not rely on -game parameter.
This commit is contained in:
parent
78827f0ea2
commit
fdcbe71317
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user