- Fixed SVN 845 spawner bug.

This commit is contained in:
eos 2012-03-09 12:57:13 +00:00
parent 843c9e1924
commit aacae9f7b8
2 changed files with 4 additions and 4 deletions

View file

@ -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; } }

View file

@ -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 );