mirror of https://github.com/ZDoom/gzdoom.git
Replace CheckRatio with AspectTallerThanWide in DrawHUD
This commit is contained in:
parent
48f491cfd1
commit
0d27996a64
|
@ -1108,7 +1108,7 @@ void DrawHUD()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (CheckRatio(SCREENWIDTH, SCREENHEIGHT) == 4)
|
if (AspectTallerThanWide(WidescreenRatio))
|
||||||
{
|
{
|
||||||
hudheight = hudwidth * 30 / AspectMultiplier(WidescreenRatio); // BaseRatioSizes is inverted for this mode
|
hudheight = hudwidth * 30 / AspectMultiplier(WidescreenRatio); // BaseRatioSizes is inverted for this mode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue