fixed a little glitch in Lever Puzzle
This commit is contained in:
parent
18f1003f51
commit
1a6504a803
1 changed files with 7 additions and 0 deletions
|
|
@ -529,6 +529,13 @@ namespace Server.Engines.Doom
|
||||||
{
|
{
|
||||||
if ( m != null )
|
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 );
|
BaseCreature.TeleportPets( m, lr_Exit, Map.Malas );
|
||||||
m.Location = lr_Exit;
|
m.Location = lr_Exit;
|
||||||
m.ProcessDelta();
|
m.ProcessDelta();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue