1.1 --- a/core/smn_hudtext.cpp Thu Jul 10 01:26:02 2008 +0000
1.2 +++ b/core/smn_hudtext.cpp Fri Jul 11 08:18:43 2008 +0000
1.3 @@ -371,7 +371,7 @@
1.4 }
1.5
1.6 g_SourceMod.FormatString(message_buffer, sizeof(message_buffer), pContext, params, 3);
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 @@ -443,7 +443,7 @@
1.13 }
1.14
1.15 g_SourceMod.FormatString(message_buffer, sizeof(message_buffer), pContext, params, 3);
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 }