From aacae9f7b83f58d0a9c1f14699d0e371baac37b3 Mon Sep 17 00:00:00 2001 From: eos Date: Fri, 9 Mar 2012 12:57:13 +0000 Subject: [PATCH] - Fixed SVN 845 spawner bug. --- Scripts/Engines/Spawner/ProximitySpawner.cs | 4 ++-- Scripts/Engines/Spawner/Spawner.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Scripts/Engines/Spawner/ProximitySpawner.cs b/Scripts/Engines/Spawner/ProximitySpawner.cs index 10c567e9d..c7e421366 100644 --- a/Scripts/Engines/Spawner/ProximitySpawner.cs +++ b/Scripts/Engines/Spawner/ProximitySpawner.cs @@ -99,9 +99,9 @@ namespace Server.Mobiles } } - public override bool CheckSpawnCount() + public override bool CheckSpawnerFull() { - return true; + return false; } public override bool HandlesOnMovement { get { return true; } } diff --git a/Scripts/Engines/Spawner/Spawner.cs b/Scripts/Engines/Spawner/Spawner.cs index 426efd2a0..4f24efc5f 100644 --- a/Scripts/Engines/Spawner/Spawner.cs +++ b/Scripts/Engines/Spawner/Spawner.cs @@ -525,7 +525,7 @@ namespace Server.Mobiles public Point3D HomeLocation { get { return this.Location; } } - public virtual bool CheckSpawnCount() + public virtual bool CheckSpawnerFull() { return ( m_Spawned.Count >= m_Count ); } @@ -539,7 +539,7 @@ namespace Server.Mobiles Defrag(); - if ( !CheckSpawnCount() ) + if ( CheckSpawnerFull() ) return; ISpawnable spawned = CreateSpawnedObject( index );