Skip to content

Commit 8e77e47

Browse files
authored
Merge pull request Velaron#266 from Vladislav4KZ/overview-fix
Fix wrong positioning of entity marks in overview on screens with an aspect ratio different from 4:3
2 parents 66964c8 + 9645285 commit 8e77e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cl_dll/hud_spectator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ void CHudSpectator::DrawOverviewLayer()
12231223
yTiles = 6;
12241224
}
12251225

1226-
screenaspect = ScreenWidth/ScreenHeight;
1226+
screenaspect = 4.0f/3.0f;
12271227

12281228

12291229
xs = m_OverviewData.origin[0];

0 commit comments

Comments
 (0)