Fix 5:4 aspect ratio gun and status bar
This commit is contained in:
parent
ba68cfd611
commit
172f58c165
6 changed files with 21 additions and 13 deletions
|
|
@ -300,7 +300,7 @@ void DBaseStatusBar::SetScaled (bool scale, bool force)
|
|||
ST_X = 0;
|
||||
ST_Y = VirticalResolution - RelTop;
|
||||
float aspect = ActiveRatio(SCREENWIDTH, SCREENHEIGHT);
|
||||
if (aspect >= 1.3f)
|
||||
if (!Is54Aspect(aspect))
|
||||
{ // Normal resolution
|
||||
::ST_Y = Scale (ST_Y, SCREENHEIGHT, VirticalResolution);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue