mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
SW: Change fix16_from_float() to fix16_from_int() that was changed in 4630c8a0b7
but should have been reverted in 377ba68344
.
This commit is contained in:
parent
670a53c402
commit
423c9da071
1 changed files with 1 additions and 1 deletions
|
@ -1583,7 +1583,7 @@ DoPlayerTurnBoat(PLAYERp pp)
|
|||
}
|
||||
else
|
||||
{
|
||||
angvel = fix16_smul(pp->input.q16avel, fix16_from_float(PLAYER_TURN_SCALE));
|
||||
angvel = fix16_smul(pp->input.q16avel, fix16_from_int(PLAYER_TURN_SCALE));
|
||||
angvel = fix16_sadd(angvel, fix16_ssub(angvel, fix16_sdiv(angvel, fix16_from_int(4))));
|
||||
angvel = fix16_sdiv(fix16_smul(angvel, fix16_from_int(synctics)), fix16_from_int(32));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue