Added checks to avoid crashing in some natives before map start (bug 5119, r=fyren).

This commit is contained in:
Nicholas Hastings
2011-10-11 22:50:21 -04:00
parent 45f68840ed
commit 67163e14e6
6 changed files with 30 additions and 2 deletions
+5
View File
@@ -745,5 +745,10 @@ int SourceModBase::GetShApiVersion()
return api;
}
bool SourceModBase::IsMapRunning()
{
return g_OnMapStarted;
}
SMGlobalClass *SMGlobalClass::head = NULL;