Skip to content

Commit

Permalink
port: use correct aspect instead of 4:3 when scaling crosshair
Browse files Browse the repository at this point in the history
  • Loading branch information
fgsfdsfgs committed Dec 7, 2023
1 parent aeb6851 commit 03324c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/sight.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

static inline f32 sightGetScaleX(void)
{
return (videoGetAspect() / (4.f / 3.f));
return (videoGetAspect() / SCREEN_ASPECT);
}

static inline s32 sightGetAdjustedX(const f32 x)
Expand Down

0 comments on commit 03324c0

Please sign in to comment.