mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-12-07 10:28:30 +00:00
Tweak game detection for MCV and Blade (fixes #200)
(cherry picked from commit 6c5847e393)
This commit is contained in:
parent
e5de18eadd
commit
1221f7f92e
@ -327,12 +327,12 @@ mm_DetermineBackend(QueryValveInterface engineFactory, QueryValveInterface serve
|
|||||||
return MMBackend_BMS;
|
return MMBackend_BMS;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mm_FindPattern((void *)engineFactory, " Blade Symphony ", sizeof(" Blade Symphony ") - 1))
|
if (serverFactory("VSERVERTOOLS003", NULL) != NULL)
|
||||||
{
|
{
|
||||||
return MMBackend_Blade;
|
return MMBackend_Blade;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mm_FindPattern((void *)engineFactory, "Military Conflict: Vietnam", sizeof("Military Conflict: Vietnam") - 1))
|
if (strcmp(game_name, "vietnam") == 0)
|
||||||
{
|
{
|
||||||
return MMBackend_MCV;
|
return MMBackend_MCV;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user