Added compat shim to load on Nuclear Dawn with MM:S < 1.9.3. (bug 5813, r=me).
This commit is contained in:
parent
f3ac8f6649
commit
1204eec8ac
@ -240,8 +240,16 @@ DLL_EXPORT METAMOD_PLUGIN *CreateInterface_MMS(const MetamodVersionInfo *mvi, co
|
||||
break;
|
||||
}
|
||||
case SOURCE_ENGINE_LEFT4DEAD2:
|
||||
{
|
||||
const char *gamedir = mvi->GetGameDir();
|
||||
if (strcmp(gamedir, "nucleardawn") == 0)
|
||||
{
|
||||
filename = FILENAME_1_6_ND;
|
||||
}
|
||||
else
|
||||
{
|
||||
filename = FILENAME_1_6_L4D2;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SOURCE_ENGINE_NUCLEARDAWN:
|
||||
|
Loading…
Reference in New Issue
Block a user