mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-08 04:06:25 +00:00
Always quantize momentum on slopes, even if no physics
Lets no physics slopes launch. Travel time will be affected by 3D surface area instead of just 2D surface.
This commit is contained in:
parent
5b561815d7
commit
f29e5d8270
1 changed files with 0 additions and 3 deletions
|
|
@ -987,9 +987,6 @@ void P_QuantizeMomentumToSlope(vector3_t *momentum, pslope_t *slope)
|
|||
{
|
||||
vector3_t axis; // Fuck you, C90.
|
||||
|
||||
if (slope->flags & SL_NOPHYSICS)
|
||||
return; // No physics, no quantizing.
|
||||
|
||||
axis.x = -slope->d.y;
|
||||
axis.y = slope->d.x;
|
||||
axis.z = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue