Fixed GuessSDKVersion output on CS:S with MM:S 1.9+ (r=asherkin).
This commit is contained in:
parent
0d6b93c5a0
commit
3f43fca3a9
@ -451,6 +451,10 @@ static cell_t smn_IsPlayerAlive(IPluginContext *pContext, const cell_t *params)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef SOURCE_ENGINE_CSS
|
||||||
|
#define SOURCE_ENGINE_CSS 13
|
||||||
|
#endif
|
||||||
|
|
||||||
static cell_t GuessSDKVersion(IPluginContext *pContext, const cell_t *params)
|
static cell_t GuessSDKVersion(IPluginContext *pContext, const cell_t *params)
|
||||||
{
|
{
|
||||||
#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
|
#if defined METAMOD_PLAPI_VERSION || PLAPI_VERSION >= 11
|
||||||
@ -473,6 +477,7 @@ static cell_t GuessSDKVersion(IPluginContext *pContext, const cell_t *params)
|
|||||||
return 32;
|
return 32;
|
||||||
case SOURCE_ENGINE_EYE:
|
case SOURCE_ENGINE_EYE:
|
||||||
return 33;
|
return 33;
|
||||||
|
case SOURCE_ENGINE_CSS:
|
||||||
case SOURCE_ENGINE_ORANGEBOXVALVE:
|
case SOURCE_ENGINE_ORANGEBOXVALVE:
|
||||||
return 35;
|
return 35;
|
||||||
case SOURCE_ENGINE_LEFT4DEAD:
|
case SOURCE_ENGINE_LEFT4DEAD:
|
||||||
|
Loading…
Reference in New Issue
Block a user