fBaseXtensions.XML.FunkyWaypoint.LevelAreaChanged C# (CSharp) Method

LevelAreaChanged() private method

private LevelAreaChanged ( ) : bool
return bool
        private bool LevelAreaChanged()
        {
            int CurrentID = -1;
            int curWorldID = -1;
            try
            {
                CurrentID = ZetaDia.CurrentLevelAreaId;
                curWorldID = ZetaDia.CurrentWorldId;
            }
            catch (Exception)
            {
                // return false;

            }

            if ((curWorldID == -1 && CurrentID == -1) || (CurrentID == CurrentLevelID && CurrentWorldID == curWorldID))
                return false;
            if (!(CurrentID == -1 && curWorldID == -1) && (CurrentLevelID != CurrentID || curWorldID != CurrentWorldID))
                return true;

            return true;
        }