Update to the latest SourcePawn and AMTL.

This commit is contained in:
David Anderson
2016-09-24 16:45:04 -07:00
parent 29d4ea3245
commit 27e812461f
7 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -251,7 +251,7 @@ void CPlugin::EvictWithError(PluginStatus status, const char *error_fmt, ...)
ke::SafeVsprintf(m_errormsg, sizeof(m_errormsg), error_fmt, ap);
va_end(ap);
if (m_pRuntime != NULL)
if (m_pRuntime)
{
m_pRuntime->SetPauseState(true);
}
@@ -499,7 +499,7 @@ bool CPlugin::TryCompile()
IPluginContext *CPlugin::GetBaseContext()
{
if (m_pRuntime == NULL)
if (!m_pRuntime)
{
return NULL;
}
@@ -558,7 +558,7 @@ bool CPlugin::IsSilentlyFailed()
bool CPlugin::IsDebugging()
{
if (m_pRuntime == NULL)
if (!m_pRuntime)
{
return false;
}