mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Slope correction.
This commit is contained in:
parent
05f58df709
commit
a9c68a78e9
1 changed files with 1 additions and 1 deletions
|
@ -2985,7 +2985,7 @@ void EV_CrumbleChain(sector_t *sec, ffloor_t *rover)
|
||||||
if (flags & ML_EFFECT1)
|
if (flags & ML_EFFECT1)
|
||||||
{
|
{
|
||||||
P_InstaThrust(spawned, R_PointToAngle2(sec->soundorg.x, sec->soundorg.y, a, b), FixedDiv(P_AproxDistance(a - sec->soundorg.x, b - sec->soundorg.y), widthfactor));
|
P_InstaThrust(spawned, R_PointToAngle2(sec->soundorg.x, sec->soundorg.y, a, b), FixedDiv(P_AproxDistance(a - sec->soundorg.x, b - sec->soundorg.y), widthfactor));
|
||||||
P_SetObjectMomZ(spawned, FixedDiv((c - *rover->bottomheight), heightfactor), false);
|
P_SetObjectMomZ(spawned, FixedDiv((c - bottomz), heightfactor), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
spawned->fuse = lifetime;
|
spawned->fuse = lifetime;
|
||||||
|
|
Loading…
Reference in a new issue