Bird fix, null map mobiles fixed

This commit is contained in:
asayre 2006-10-26 04:28:35 +00:00
parent b2ab540a59
commit cdda8cd854
8 changed files with 23 additions and 7 deletions

View file

@ -222,6 +222,9 @@ namespace Server.Mobiles
public void AddUnholyBone( Mobile target, double chanceToThrow )
{
if( this.Map == null )
return;
if ( chanceToThrow >= Utility.RandomDouble() )
{
Direction = GetDirectionTo( target );