mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
port: use correct aspect instead of 4:3 when scaling crosshair
This commit is contained in:
1 parent
aeb6851606
commit
03324c0823
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user