mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-26 19:54:14 +01:00
Tweak game detection for MCV and Blade (fixes #200)
This commit is contained in:
parent
8d04578706
commit
6c5847e393
@ -291,12 +291,12 @@ mm_DetermineBackendS1(QueryValveInterface engineFactory, QueryValveInterface ser
|
|||||||
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…
x
Reference in New Issue
Block a user