mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
K_DrawTargetTracking: Fix x coordinate of tracked object's icon at the bottom of the screen.
This was designed to use the angle of the result directly, which was previously incorrect.
This commit is contained in:
parent
78636bd8d9
commit
89be7b959e
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ void K_DrawTargetTracking(const TargetTracking& target)
|
|||
// Simply pointing towards the result doesn't work, so inaccurate hack...
|
||||
borderDir.x = FixedMul(
|
||||
FixedMul(
|
||||
FINESINE((-result.angle >> ANGLETOFINESHIFT) & FINEMASK),
|
||||
FINESINE((result.angle >> ANGLETOFINESHIFT) & FINEMASK),
|
||||
FINECOSINE((-result.pitch >> ANGLETOFINESHIFT) & FINEMASK)
|
||||
),
|
||||
result.fov
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue