mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
Fix the bracketing on the autobrake calculation.
This commit is contained in:
parent
f90d595332
commit
725e015a19
1 changed files with 1 additions and 1 deletions
|
@ -9825,7 +9825,7 @@ void P_PlayerThink(player_t *player)
|
|||
&& !(cmd->forwardmove || cmd->sidemove)
|
||||
&& (player->rmomx || player->rmomy))
|
||||
{
|
||||
fixed_t acceleration = player->accelstart + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration * player->thrustfactor * 20;
|
||||
fixed_t acceleration = (player->accelstart + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration) * player->thrustfactor * 20;
|
||||
angle_t moveAngle = R_PointToAngle2(0, 0, player->rmomx, player->rmomy);
|
||||
|
||||
if (!currentlyonground)
|
||||
|
|
Loading…
Reference in a new issue