fixed a little glitch in Lever Puzzle

This commit is contained in:
daedalus 2009-10-24 21:22:24 +00:00
parent 18f1003f51
commit 1a6504a803

View file

@ -529,6 +529,13 @@ namespace Server.Engines.Doom
{
if ( m != null )
{
if( m is PlayerMobile && !m.Alive )
{
if( m.Corpse != null && !m.Corpse.Deleted )
{
m.Corpse.MoveToWorld( lr_Exit, Map.Malas );
}
}
BaseCreature.TeleportPets( m, lr_Exit, Map.Malas );
m.Location = lr_Exit;
m.ProcessDelta();