additional ientity.deleted impl

This commit is contained in:
Mark Sturgill 2013-11-02 11:06:47 -07:00
parent 436e8f054a
commit 142f71c258
2 changed files with 2 additions and 7 deletions

View file

@ -2433,7 +2433,7 @@ namespace Server.Multis
{
writer.Write( (Point3D) relEntity.RelativeLocation );
if ( ( relEntity.Entity is Item && ((Item)relEntity.Entity).Deleted ) || ( relEntity.Entity is Mobile && ((Mobile)relEntity.Entity).Deleted ) )
if (relEntity.Entity.Deleted)
writer.Write( (int) Serial.MinusOne );
else
writer.Write( (int) relEntity.Entity.Serial );