From 8d1526f188ab6390370c576a25f295bd88a952f7 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 21 Jun 2017 07:40:49 -0400 Subject: [PATCH] Fix loading on Source SDK 2013 mods. --- loader/loader.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/loader/loader.cpp b/loader/loader.cpp index 47cffe4..f16b733 100644 --- a/loader/loader.cpp +++ b/loader/loader.cpp @@ -407,8 +407,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve { return MMBackend_DODS; } - else if (strcmp(game_name, "hl2mp") == 0 - || (addr = mm_FindPattern(lib, "Half-Life 2 Deathmatch", sizeof("Half-Life 2 Deathmatch") - 1))) + else if (strcmp(game_name, "hl2mp") == 0) { return MMBackend_HL2DM; }