mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix slope pushback force to scale with mapobject and player grow/shrink scale
This commit is contained in:
parent
f43d108226
commit
c26455d8b4
1 changed files with 1 additions and 1 deletions
|
|
@ -1917,7 +1917,7 @@ static void P_3dMovement(player_t *player)
|
|||
vector3_t totalthrust;
|
||||
|
||||
totalthrust.x = totalthrust.y = 0; // I forget if this is needed
|
||||
totalthrust.z = FRACUNIT*P_MobjFlip(player->mo)/3; // A bit of extra push-back on slopes
|
||||
totalthrust.z = FixedMul(mapobjectscale, K_GrowShrinkSpeedMul(player))*P_MobjFlip(player->mo)/3; // A bit of extra push-back on slopes
|
||||
|
||||
if (K_SlopeResistance(player) == true)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue