mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-20 13:54:14 +01:00
Fix broken Alien Swarm engine detection (regression from 013c5490904).
This commit is contained in:
parent
c32ecc8c98
commit
ed6b5a4957
@ -288,8 +288,13 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
||||
else if (engineFactory("VEngineServer022", NULL) != NULL &&
|
||||
engineFactory("VEngineCvar007", NULL) != NULL)
|
||||
{
|
||||
if (serverFactory("ServerGameClients004", NULL))
|
||||
if (engineFactory("EngineTraceServer004", NULL) != NULL)
|
||||
{
|
||||
if (engineFactory("XboxSystemInterface001", NULL) != NULL)
|
||||
{
|
||||
return MMBackend_AlienSwarm;
|
||||
}
|
||||
|
||||
if (strcmp(game_name, "portal2") == 0)
|
||||
{
|
||||
return MMBackend_Portal2;
|
||||
@ -297,11 +302,6 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
||||
|
||||
return MMBackend_Blade;
|
||||
}
|
||||
|
||||
if (engineFactory("EngineTraceServer004", NULL) != NULL)
|
||||
{
|
||||
return MMBackend_AlienSwarm;
|
||||
}
|
||||
else if (engineFactory("VPrecacheSystem001", NULL) != NULL)
|
||||
{
|
||||
if (engineFactory("ServerGameTags002", NULL) != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user