1.1 --- a/core/smn_halflife.cpp Mon Jul 07 06:24:54 2008 +0000
1.2 +++ b/core/smn_halflife.cpp Mon Jul 07 06:25:15 2008 +0000
1.3 @@ -289,7 +289,7 @@
1.4 g_SourceMod.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 }
1.12 @@ -323,7 +323,7 @@
1.13 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
1.14
1.15 /* Check for an error before printing to the client */
1.16 - if (pContext->GetContext()->n_err != SP_ERROR_NONE)
1.17 + if (pContext->GetLastNativeError() != SP_ERROR_NONE)
1.18 {
1.19 return 0;
1.20 }
1.21 @@ -357,7 +357,7 @@
1.22 g_SourceMod.FormatString(buffer, sizeof(buffer), pContext, params, 2);
1.23
1.24 /* Check for an error before printing to the client */
1.25 - if (pContext->GetContext()->n_err != SP_ERROR_NONE)
1.26 + if (pContext->GetLastNativeError() != SP_ERROR_NONE)
1.27 {
1.28 return 0;
1.29 }