mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix fov on vertical perspective (fixes jittery view morph!!)
This commit is contained in:
parent
9a0ab0759b
commit
e5009348f8
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ extern UINT8 shiftdown, ctrldown, altdown;
|
|||
extern boolean capslock;
|
||||
|
||||
// WARNING: a should be unsigned but to add with 2048, it isn't!
|
||||
#define AIMINGTODY(a) (FINETANGENT((2048+(((INT32)a)>>ANGLETOFINESHIFT)) & FINEMASK)*160)
|
||||
#define AIMINGTODY(a) FixedDiv((FINETANGENT((2048+(((INT32)a)>>ANGLETOFINESHIFT)) & FINEMASK)*160), fovtan[viewssnum])
|
||||
|
||||
// if we ever make our alloc stuff...
|
||||
#define ZZ_Alloc(x) Z_Malloc(x, PU_STATIC, NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue