extensions/cstrike/natives.cpp
changeset 2198 22752d8c5cc3
parent 1952 b7aa2b626807
child 2289 44045ead61cd
     1.1 --- a/extensions/cstrike/natives.cpp	Fri Jul 11 09:28:04 2008 +0000
     1.2 +++ b/extensions/cstrike/natives.cpp	Sat Jul 12 03:19:55 2008 +0000
     1.3 @@ -92,7 +92,7 @@
     1.4  	g_pSM->FormatString(buffer, sizeof(buffer), pContext, params, 2);
     1.5  
     1.6  	/* Check for an error before printing to the client */
     1.7 -	if (pContext->GetContext()->n_err != SP_ERROR_NONE)
     1.8 +	if (pContext->GetLastNativeError() != SP_ERROR_NONE)
     1.9  	{
    1.10  		return 0;
    1.11  	}