Use newer MM:S api for Ep1/Original engine. (#548)
* Use newer MM:S api for Ep1/Original engine. * Remove doubled FILENAME_1_6_EP1 define.
This commit is contained in:
committed by
GitHub
parent
d9312799c3
commit
ad3588d0aa
@@ -357,11 +357,7 @@ void SDKTools::NotifyInterfaceDrop(SMInterface *pInterface)
|
||||
|
||||
bool SDKTools::RegisterConCommandBase(ConCommandBase *pVar)
|
||||
{
|
||||
#if defined METAMOD_PLAPI_VERSION
|
||||
return g_SMAPI->RegisterConCommandBase(g_PLAPI, pVar);
|
||||
#else
|
||||
return g_SMAPI->RegisterConCmdBase(g_PLAPI, pVar);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool SDKTools::LevelInit(char const *pMapName, char const *pMapEntities, char const *pOldLevel, char const *pLandmarkName, bool loadGame, bool background)
|
||||
|
||||
Reference in New Issue
Block a user