fixed cstrike build

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402407
This commit is contained in:
David Anderson 2008-07-12 03:19:55 +00:00
parent 8a4c96b252
commit b743af8a72

View File

@ -92,7 +92,7 @@ static cell_t CS_PrintHintText(IPluginContext *pContext, const cell_t *params)
g_pSM->FormatString(buffer, sizeof(buffer), pContext, params, 2);
/* 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;
}