Added checks to avoid crashing in some natives before map start (bug 5119, r=fyren).
This commit is contained in:
@@ -745,5 +745,10 @@ int SourceModBase::GetShApiVersion()
|
||||
return api;
|
||||
}
|
||||
|
||||
bool SourceModBase::IsMapRunning()
|
||||
{
|
||||
return g_OnMapStarted;
|
||||
}
|
||||
|
||||
SMGlobalClass *SMGlobalClass::head = NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user