I am bad at conditions.

This commit is contained in:
toasterbabe 2017-02-04 21:41:43 +00:00
parent 5170fafcac
commit abc218de38
1 changed files with 4 additions and 4 deletions

View File

@ -4845,13 +4845,13 @@ static void P_3dMovement(player_t *player)
{
if (player->mo->state-states == S_PLAY_BOUNCE_LANDING)
{
thrustfactor = player->thrustfactor/2;
acceleration = player->accelstart + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration;
thrustfactor = player->thrustfactor*8;
acceleration = player->accelstart/8 + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration/8;
}
else
{
thrustfactor = player->thrustfactor*2;
acceleration = player->accelstart/2 + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration/2;
thrustfactor = (3*player->thrustfactor)/4;
acceleration = player->accelstart + (FixedDiv(player->speed, player->mo->scale)>>FRACBITS) * player->acceleration;
}
}