mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- Fixed: Bouncing missiles landing on an actor would just stop rather than bounce.
SVN r3596 (trunk)
This commit is contained in:
parent
8632c0db04
commit
01dacce549
1 changed files with 11 additions and 3 deletions
|
@ -3305,11 +3305,19 @@ void AActor::Tick ()
|
|||
}
|
||||
z = onmo->z + onmo->height;
|
||||
}
|
||||
if (velz != 0 && (flags & MF_MISSILE) && (BounceFlags & BOUNCE_Actors))
|
||||
{
|
||||
secplane_t plane = { 0, 0, FRACUNIT, -z, FRACUNIT };
|
||||
FloorBounceMissile(plane);
|
||||
}
|
||||
else
|
||||
{
|
||||
flags2 |= MF2_ONMOBJ;
|
||||
velz = 0;
|
||||
Crash();
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
P_ZMovement (this, oldfloorz);
|
||||
|
|
Loading…
Reference in a new issue