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
1 changed files with 1 additions and 1 deletions

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
}