Added compatibility shim for MM:S 1.9.0+ (bug 5370, r=asherkin).
This commit is contained in:
parent
691b9d128e
commit
9c69e9e66a
@ -77,6 +77,11 @@
|
||||
#define FILENAME_1_6_BGT "sourcemod.2.bgt" PLATFORM_EXT
|
||||
#define FILENAME_1_6_EYE "sourcemod.2.eye" PLATFORM_EXT
|
||||
|
||||
// Shim for compatibility with MM:S 1.9.0+
|
||||
#ifndef SOURCE_ENGINE_CSS
|
||||
#define SOURCE_ENGINE_CSS 13
|
||||
#endif
|
||||
|
||||
HINSTANCE g_hCore = NULL;
|
||||
bool load_attempted = false;
|
||||
|
||||
@ -257,6 +262,11 @@ DLL_EXPORT METAMOD_PLUGIN *CreateInterface_MMS(const MetamodVersionInfo *mvi, co
|
||||
filename = FILENAME_1_6_EYE;
|
||||
break;
|
||||
}
|
||||
case SOURCE_ENGINE_CSS:
|
||||
{
|
||||
filename = FILENAME_1_6_EP2VALVE;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user