mirror of https://github.com/ZDoom/gzdoom.git
- 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:
parent
1e32e75eef
commit
0ef00cdf6e
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue