mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 23:12:24 +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;
|
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;
|
flags2 |= MF2_ONMOBJ;
|
||||||
velz = 0;
|
velz = 0;
|
||||||
Crash();
|
Crash();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
P_ZMovement (this, oldfloorz);
|
P_ZMovement (this, oldfloorz);
|
||||||
|
|
Loading…
Reference in a new issue