From 2ad240b0342d5646c3e887d05bf670a8a53c5c7e Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 18 Apr 2006 01:15:02 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 477264877..a9039c16b 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -1523,9 +1523,9 @@ void displayinventory(struct player_struct *p) if(ud.screen_size > 4) 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) xoff += 56;