Fix loading on Source SDK 2013 mods.

This commit is contained in:
Nicholas Hastings 2017-06-21 07:40:49 -04:00
parent e2594008c0
commit 8d1526f188

View File

@ -407,8 +407,7 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
{ {
return MMBackend_DODS; return MMBackend_DODS;
} }
else if (strcmp(game_name, "hl2mp") == 0 else if (strcmp(game_name, "hl2mp") == 0)
|| (addr = mm_FindPattern(lib, "Half-Life 2 Deathmatch", sizeof("Half-Life 2 Deathmatch") - 1)))
{ {
return MMBackend_HL2DM; return MMBackend_HL2DM;
} }