mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Unnerf wall transfer speed
(Sorry Ramp Park...)
This commit is contained in:
parent
821fd41d70
commit
995ebae2bd
1 changed files with 2 additions and 2 deletions
|
|
@ -880,7 +880,7 @@ fixed_t P_GetWallTransferMomZ(mobj_t *mo, pslope_t *slope)
|
||||||
|
|
||||||
slopemom.x = mo->momx;
|
slopemom.x = mo->momx;
|
||||||
slopemom.y = mo->momy;
|
slopemom.y = mo->momy;
|
||||||
slopemom.z = 3*(mo->momz/2);
|
slopemom.z = mo->momz;
|
||||||
|
|
||||||
axis.x = -slope->d.y;
|
axis.x = -slope->d.y;
|
||||||
axis.y = slope->d.x;
|
axis.y = slope->d.x;
|
||||||
|
|
@ -888,7 +888,7 @@ fixed_t P_GetWallTransferMomZ(mobj_t *mo, pslope_t *slope)
|
||||||
|
|
||||||
FV3_Rotate(&slopemom, &axis, ang >> ANGLETOFINESHIFT);
|
FV3_Rotate(&slopemom, &axis, ang >> ANGLETOFINESHIFT);
|
||||||
|
|
||||||
return 2*(slopemom.z/3);
|
return slopemom.z;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function to help handle landing on slopes
|
// Function to help handle landing on slopes
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue