Server.Mobiles.BaseCreature.OnLocationChange C# (CSharp) Method

OnLocationChange() protected method

protected OnLocationChange ( Point3D oldLocation ) : void
oldLocation Point3D
return void
        protected override void OnLocationChange( Point3D oldLocation )
        {
            Map map = this.Map;

            if ( PlayerRangeSensitive && m_AI != null && map != null && map.GetSector( this.Location ).Active )
                m_AI.Activate();

            base.OnLocationChange( oldLocation );
        }
BaseCreature