mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
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
This commit is contained in:
@@ -2656,7 +2656,7 @@ void INVRenderINVPanelItem( SOLDIERTYPE *pSoldier, INT16 sPocket, UINT8 fDirtyLe
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
newX = ((UsingNewInventorySystem() == false)) ? (14 + xResOffset) : (6 + xResOffset);
|
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 );
|
BltVideoObjectFromIndex( guiSAVEBUFFER, guiMapInvSecondHandBlockout, UsingNewInventorySystem(), newX, newY, VO_BLT_SRCTRANSPARENCY, NULL );
|
||||||
RestoreExternBackgroundRect( newX, newY, 102, 24 );
|
RestoreExternBackgroundRect( newX, newY, 102, 24 );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user