Fix the vertical position of the level stats when using the original mini-HUD.

Patch from Fox.

git-svn-id: https://svn.eduke32.com/eduke32@6897 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-05-23 05:57:58 +00:00
parent 9b495ea67f
commit 749d79dcdd

View file

@ -1282,7 +1282,7 @@ void G_DisplayRest(int32_t smoothratio)
if (ud.screen_size == 4) if (ud.screen_size == 4)
{ {
if (ud.althud == 1 && ud.hudontop == 0) if (ud.althud == 0 || ud.hudontop == 0)
i -= sbarsc(ud.althud ? (tilesiz[BIGALPHANUM].y+8)<<16 : tilesiz[INVENTORYBOX].y<<16); i -= sbarsc(ud.althud ? (tilesiz[BIGALPHANUM].y+8)<<16 : tilesiz[INVENTORYBOX].y<<16);
} }
else if (ud.screen_size > 2) else if (ud.screen_size > 2)