mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'always-quantize-slopes' into 'master'
Let no physics slopes slope launch See merge request KartKrew/Kart!931
This commit is contained in:
commit
474d3cd228
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.
|
vector3_t axis; // Fuck you, C90.
|
||||||
|
|
||||||
if (slope->flags & SL_NOPHYSICS)
|
|
||||||
return; // No physics, no quantizing.
|
|
||||||
|
|
||||||
axis.x = -slope->d.y;
|
axis.x = -slope->d.y;
|
||||||
axis.y = slope->d.x;
|
axis.y = slope->d.x;
|
||||||
axis.z = 0;
|
axis.z = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue