mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 01:43:50 +00:00
Merge branch 'autobrake-fix' into 'next'
Make autobrake account for scale See merge request STJr/SRB2!1782
This commit is contained in:
commit
c65851d17c
1 changed files with 1 additions and 1 deletions
|
@ -11915,7 +11915,7 @@ void P_PlayerThink(player_t *player)
|
|||
if (player->mo->movefactor != FRACUNIT) // Friction-scaled acceleration...
|
||||
acceleration = FixedMul(acceleration<<FRACBITS, player->mo->movefactor)>>FRACBITS;
|
||||
|
||||
P_Thrust(player->mo, moveAngle, -acceleration);
|
||||
P_Thrust(player->mo, moveAngle, FixedMul(-acceleration, player->mo->scale));
|
||||
}
|
||||
|
||||
if (!(player->pflags & PF_AUTOBRAKE)
|
||||
|
|
Loading…
Reference in a new issue