- Fixed SVN 845 spawner bug.
This commit is contained in:
parent
843c9e1924
commit
aacae9f7b8
2 changed files with 4 additions and 4 deletions
|
|
@ -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; } }
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue