mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- 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
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue