Permalink
Browse files

Fix broken Alien Swarm engine detection (regression from 013c549).

  • Loading branch information...
psychonic committed Aug 11, 2014
1 parent fce3e8f commit 80c48e9eec810cf7f527dff9a14b6ca894e34321
Showing with 6 additions and 6 deletions.
  1. +6 −6 loader/loader.cpp
View
@@ -288,20 +288,20 @@ 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;
}
return MMBackend_Blade;
}
if (engineFactory("EngineTraceServer004", NULL) != NULL)
{
return MMBackend_AlienSwarm;
}
else if (engineFactory("VPrecacheSystem001", NULL) != NULL)
{
if (engineFactory("ServerGameTags002", NULL) != NULL)

0 comments on commit 80c48e9

Please sign in to comment.