Skip to content
Permalink
Browse files

Update loader for BM:S again.

  • Loading branch information
psychonic committed Nov 8, 2016
1 parent ff9eac3 commit 8b3c2e8ca5208fd67d8082362307e00e1a533fe3
Showing with 7 additions and 6 deletions.
  1. +7 −6 loader/loader.cpp
@@ -280,7 +280,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
}
else if (engineFactory("VEngineServer023", NULL) != NULL)
{
if (engineFactory("EngineTraceServer004", NULL) == NULL || serverFactory("ServerGameDLL010", NULL) != NULL)
if (engineFactory("EngineTraceServer004", NULL) == NULL)
{
goto TF2branch;
}
@@ -289,6 +289,12 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
{
return MMBackend_Insurgency;
}

if (serverFactory("ServerGameDLL010", NULL) != NULL)
{
return MMBackend_BMS;
}

return MMBackend_CSGO;
}
else if (engineFactory("VEngineServer022", NULL) != NULL &&
@@ -386,11 +392,6 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
{
return MMBackend_HL2DM;
}
else if (strcmp(game_name, "bms") == 0
|| (addr = mm_FindPattern(lib, "DT_BlackMesaPlayer", sizeof("DT_BlackMesaPlayer") - 1)))
{
return MMBackend_BMS;
}
else
{
return MMBackend_SDK2013;

0 comments on commit 8b3c2e8

Please sign in to comment.
You can’t perform that action at this time.