mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Round computed horiz instead of potentially truncating
git-svn-id: https://svn.eduke32.com/eduke32@7345 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e513ad21d1
commit
5eb007396d
1 changed files with 1 additions and 1 deletions
|
@ -5405,7 +5405,7 @@ HORIZONLY:;
|
|||
}
|
||||
}
|
||||
|
||||
pPlayer->q16horiz = F16(100) + F16(128) * tanf(horizAngle * (fPI / 512.f));
|
||||
pPlayer->q16horiz = F16(100) + Blrintf(F16(128) * tanf(horizAngle * (fPI / 512.f)));
|
||||
|
||||
if (pPlayer->return_to_center > 0 && !TEST_SYNC_KEY(playerBits, SK_LOOK_UP) && !TEST_SYNC_KEY(playerBits, SK_LOOK_DOWN))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue