1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-21 14:54:14 +01:00

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;
}
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;
}