Add ifdef section notes on endifs.
This commit is contained in:
parent
a697e81427
commit
e7870da5ff
@ -314,7 +314,7 @@ void TempEntityManager::Initialize()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
#endif
|
#endif // == TF2
|
||||||
|
|
||||||
if (!g_pGameConf->GetOffset("GetTEName", &m_NameOffs))
|
if (!g_pGameConf->GetOffset("GetTEName", &m_NameOffs))
|
||||||
{
|
{
|
||||||
|
@ -789,7 +789,7 @@ static cell_t NativeFindEntityByClassname(IPluginContext *pContext, const cell_t
|
|||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif // >= ORANGEBOX && != TF2
|
||||||
|
|
||||||
static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *params)
|
static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *params)
|
||||||
{
|
{
|
||||||
@ -820,7 +820,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
|
|||||||
{
|
{
|
||||||
return NativeFindEntityByClassname(pContext, params);
|
return NativeFindEntityByClassname(pContext, params);
|
||||||
}
|
}
|
||||||
#endif
|
#endif // >= SE_ORANGEBOX
|
||||||
|
|
||||||
if (!pCall)
|
if (!pCall)
|
||||||
{
|
{
|
||||||
@ -857,7 +857,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
|
|||||||
return NativeFindEntityByClassname(pContext, params);
|
return NativeFindEntityByClassname(pContext, params);
|
||||||
#else
|
#else
|
||||||
return pContext->ThrowNativeError("%s", error);
|
return pContext->ThrowNativeError("%s", error);
|
||||||
#endif
|
#endif // >= ORANGEBOX
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -869,7 +869,7 @@ static cell_t FindEntityByClassname(IPluginContext *pContext, const cell_t *para
|
|||||||
FINISH_CALL_SIMPLE(&pEntity);
|
FINISH_CALL_SIMPLE(&pEntity);
|
||||||
|
|
||||||
return gamehelpers->EntityToBCompatRef(pEntity);
|
return gamehelpers->EntityToBCompatRef(pEntity);
|
||||||
#endif
|
#endif // == TF2
|
||||||
}
|
}
|
||||||
|
|
||||||
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
#if SOURCE_ENGINE >= SE_ORANGEBOX
|
||||||
|
Loading…
Reference in New Issue
Block a user