Skip to content

Commit

Permalink
tr1/option: fix overlapping text with 1.9 font scale
Browse files Browse the repository at this point in the history
Resolves #1946.
  • Loading branch information
rr- committed Nov 25, 2024
1 parent 5d1c3d2 commit 4212a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/tr1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

Importantly, Asian and Arabic languages remain unsupported at the moment.
- fixed invisible walls being present in front of some doors (#1948, regression from 4.6)
- fixed big font scale causing text overlaps in the graphics options (#1946)
- fixed missing FMVs causing the game to go silent (#1931, regression from 4.6)
- fixed game crashing when toggling the bilinear filter in passport (#1942, regression from 4.5)

Expand Down
2 changes: 1 addition & 1 deletion src/tr1/game/option/option_graphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static void M_InitMenu(void)
static void M_UpdateMenuVisible(void)
{
int32_t visible_lines = 0;
if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 240) {
if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 260) {
visible_lines = 8;
} else if (Screen_GetResHeightDownscaled(RSR_TEXT) <= 384) {
visible_lines = 9;
Expand Down

0 comments on commit 4212a3b

Please sign in to comment.