Replace CheckRatio with AspectTallerThanWide in DrawHUD

This commit is contained in:
Magnus Norddahl 2016-09-14 23:38:50 +02:00 committed by Christoph Oelckers
parent 48f491cfd1
commit 0d27996a64

View file

@ -1108,7 +1108,7 @@ void DrawHUD()
}
else
{
if (CheckRatio(SCREENWIDTH, SCREENHEIGHT) == 4)
if (AspectTallerThanWide(WidescreenRatio))
{
hudheight = hudwidth * 30 / AspectMultiplier(WidescreenRatio); // BaseRatioSizes is inverted for this mode
}