From a2bbeebc549f3682fa182ad869819da7dc176a2e Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 31 Aug 2014 00:27:10 +0000 Subject: [PATCH] Fix: graphical glitch when equipping a twohand item git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7460 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Interface Items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tactical/Interface Items.cpp b/Tactical/Interface Items.cpp index 8cb5239a..e4775fcf 100644 --- a/Tactical/Interface Items.cpp +++ b/Tactical/Interface Items.cpp @@ -2656,7 +2656,7 @@ void INVRenderINVPanelItem( SOLDIERTYPE *pSoldier, INT16 sPocket, UINT8 fDirtyLe else { newX = ((UsingNewInventorySystem() == false)) ? (14 + xResOffset) : (6 + xResOffset); - newY = ((UsingNewInventorySystem() == false)) ? 218 : 217; + newY = ((UsingNewInventorySystem() == false)) ? (218 + yResOffset) : (217 + yResOffset); BltVideoObjectFromIndex( guiSAVEBUFFER, guiMapInvSecondHandBlockout, UsingNewInventorySystem(), newX, newY, VO_BLT_SRCTRANSPARENCY, NULL ); RestoreExternBackgroundRect( newX, newY, 102, 24 ); }