Fix for inventory icons being drawn over the weapon icon with the small HUD enabled; need to fix the level stat text as well

git-svn-id: https://svn.eduke32.com/eduke32@48 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-04-18 01:15:02 +00:00
parent 570e66d2ab
commit 2ad240b034

View file

@ -1523,9 +1523,9 @@ void displayinventory(struct player_struct *p)
if(ud.screen_size > 4) if(ud.screen_size > 4)
y = 154; y = 154;
else y = 172; else y = (ud.drawweapon == 2?150:172);
if(ud.screen_size == 4) if(ud.screen_size == 4 && ud.drawweapon != 2)
{ {
if(ud.multimode > 1) if(ud.multimode > 1)
xoff += 56; xoff += 56;