Fix Zone::IsGlobal()

This commit is contained in:
Michael Friedrich 2014-11-08 22:57:09 +01:00
parent 020bd060c5
commit a362b5c14c
1 changed files with 1 additions and 6 deletions

View File

@ -83,12 +83,7 @@ bool Zone::IsChildOf(const Zone::Ptr& zone)
bool Zone::IsGlobal(void)
{
Zone::Ptr zone = GetSelf();
if (!zone)
return false;
return zone->GetGlobal();
return GetGlobal();
}
Zone::Ptr Zone::GetLocalZone(void)