Skip to content

Commit

Permalink
- undo the change from last commit for 5:4 monitors - turns out the s…
Browse files Browse the repository at this point in the history
…cale is calculated differently for 1280x1024 and needs the buggy version to work correctly.
  • Loading branch information
madame-rachelle committed Mar 22, 2020
1 parent e7bad72 commit 442bead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_statusbar/shared_sbar.cpp
Expand Up @@ -486,7 +486,7 @@ void DBaseStatusBar::SetScale ()
ST_X = 0;

// this was far more obtuse before...
double height4_3 = h * aspect / (4 / 3);
double height4_3 = h * aspect / 1.333;
SBarTop = int(h - height4_3 + sby * height4_3 / VerticalResolution);
}
Displacement = 0;
Expand Down

0 comments on commit 442bead

Please sign in to comment.