diff --git a/loader/loader.cpp b/loader/loader.cpp index f2a696b..b80c287 100644 --- a/loader/loader.cpp +++ b/loader/loader.cpp @@ -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