Fix loading on Source SDK 2013 mods.

This commit is contained in:
Nicholas Hastings 2017-06-21 07:40:49 -04:00
parent 4403e81407
commit 07f01407f9

View File

@ -387,8 +387,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;
} }