Пример #1
0
        public virtual void InvalidateFlagPodium()
        {
            if (Deserializing || SpawnPoint == Point3D.Zero || Battle.Options.Locations.Map == null ||
                Battle.Options.Locations.Map == Map.Internal)
            {
                return;
            }

            if (FlagPodium == null || FlagPodium.Deleted)
            {
                FlagPodium = new UOF_CTFPodium(this);
            }
            else
            {
                FlagPodium.Hue  = Color;
                FlagPodium.Name = Name;
            }

            FlagPodium.MoveToWorld(SpawnPoint, Battle.Options.Locations.Map);
        }
Пример #2
0
		public virtual void InvalidateFlagPodium()
		{
			if (Deserializing || SpawnPoint == Point3D.Zero || Battle.Options.Locations.Map == null ||
				Battle.Options.Locations.Map == Map.Internal)
			{
				return;
			}

			if (FlagPodium == null || FlagPodium.Deleted)
			{
				FlagPodium = new UOF_CTFPodium(this);
			}
			else
			{
				FlagPodium.Hue = Color;
				FlagPodium.Name = Name;
			}

			FlagPodium.MoveToWorld(SpawnPoint, Battle.Options.Locations.Map);
		}