- Fixed: Missiles with STEPMISSILE set should probably be able to bounce off the floor they step up onto.

SVN r4261 (trunk)
This commit is contained in:
Randy Heit 2013-05-12 19:02:15 +00:00
parent 1e32e75eef
commit 0ef00cdf6e
1 changed files with 5 additions and 0 deletions

View File

@ -1835,6 +1835,11 @@ bool P_TryMove (AActor *thing, fixed_t x, fixed_t y,
if (thing->velz < 0)
{
thing->velz = 0;
// If it's a bouncer, let it bounce off its new floor, too.
if (thing->BounceFlags & BOUNCE_Floors)
{
thing->FloorBounceMissile (tm.floorsector->floorplane);
}
}
}
}