fixed cstrike build
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402407
This commit is contained in:
parent
8a4c96b252
commit
b743af8a72
@ -92,7 +92,7 @@ static cell_t CS_PrintHintText(IPluginContext *pContext, const cell_t *params)
|
|||||||
g_pSM->FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
g_pSM->FormatString(buffer, sizeof(buffer), pContext, params, 2);
|
||||||
|
|
||||||
/* Check for an error before printing to the client */
|
/* Check for an error before printing to the client */
|
||||||
if (pContext->GetContext()->n_err != SP_ERROR_NONE)
|
if (pContext->GetLastNativeError() != SP_ERROR_NONE)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user