This commit is contained in:
mark 2012-10-14 01:18:50 +00:00
parent d1958569a3
commit 98e948eeb3
2 changed files with 7 additions and 0 deletions

View file

@ -720,6 +720,10 @@ namespace Server.Engines.CannedEvil
if( Map.CanSpawnMobile( new Point2D( x, y ), z ) )
return new Point3D( x, y, z );
/* try @ platform Z if map z fails */
else if( Map.CanSpawnMobile( new Point2D( x, y ), m_Platform.Location.Z ) )
return new Point3D( x, y, m_Platform.Location.Z );
}
return Location;

View file

@ -279,6 +279,9 @@ namespace Server.Items
{
BaseCreature pet = this.Pet;
if ( pet == null )
return;
Charges--;
if ( pet.IsStabled )