1.1 --- a/loader/loader.cpp Tue Oct 05 19:56:20 2010 -0700
1.2 +++ b/loader/loader.cpp Fri Dec 17 22:20:10 2010 -0500
1.3 @@ -281,22 +281,16 @@
1.4 else if (engineFactory("VEngineServer021", NULL) != NULL)
1.5 {
1.6 /* Check for OB */
1.7 - if (engineFactory("VEngineCvar004", NULL) != NULL &&
1.8 - engineFactory("VModelInfoServer002", NULL) != NULL)
1.9 + if (engineFactory("VEngineCvar004", NULL) != NULL)
1.10 {
1.11 - char lib_path[PLATFORM_MAX_PATH];
1.12 -
1.13 - /* These would have failed already if they were going to? */
1.14 - mm_ResolvePath(STEAM_API_NAME, lib_path, sizeof(lib_path));
1.15 - void *lib = mm_LoadLibrary(lib_path, NULL, 0);
1.16 - void *steamapi_breakpad = mm_GetLibAddress(lib, "SteamAPI_SetBreakpadAppID");
1.17 - mm_UnloadLibrary(lib);
1.18 -
1.19 - if (steamapi_breakpad != NULL)
1.20 + if (engineFactory("VModelInfoServer002", NULL) != NULL)
1.21 + {
1.22 + return MMBackend_Episode2;
1.23 + }
1.24 + else if (engineFactory("VModelInfoServer003", NULL) != NULL)
1.25 {
1.26 return MMBackend_Episode2Valve;
1.27 }
1.28 - return MMBackend_Episode2;
1.29 }
1.30 /* Check for Episode One/Old Engine */
1.31 else if (engineFactory("VModelInfoServer001", NULL) != NULL &&