1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +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 e2594008c0
commit 8d1526f188

View File

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