mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
Fix detection on TF2-branch games after recent updates.
This commit is contained in:
parent
d735476d69
commit
c06dc2dfed
@ -280,6 +280,11 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
||||
}
|
||||
else if (engineFactory("VEngineServer023", NULL) != NULL)
|
||||
{
|
||||
if (engineFactory("EngineTraceServer004", NULL) == NULL)
|
||||
{
|
||||
goto TF2branch;
|
||||
}
|
||||
|
||||
if (engineFactory("IEngineSoundServer004", NULL) != NULL)
|
||||
{
|
||||
return MMBackend_Insurgency;
|
||||
@ -358,6 +363,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
||||
}
|
||||
else
|
||||
{
|
||||
TF2branch:
|
||||
void *lib = (void *)serverFactory;
|
||||
void *addr;
|
||||
if (strcmp(game_name, "cstrike") == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user