mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Unused IMP gear slots are no longer displayed in red.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7577 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+3
-3
@@ -547,11 +547,11 @@ void DisplayGear( UINT16 usItem, UINT16 usPosX, UINT16 usPosY )
|
||||
//blt the item
|
||||
BltVideoObjectOutlineFromIndex( FRAME_BUFFER, GetInterfaceGraphicForItem( pItem ), usGraphicNum, PosX, PosY, 0, FALSE );
|
||||
}
|
||||
else
|
||||
/*else
|
||||
{
|
||||
// if there is not item to display, sue a different colour for the box
|
||||
// if there is not item to display, use a different colour for the box
|
||||
ColorFillVideoSurfaceArea( FRAME_BUFFER, usPosX, usPosY, usPosX + IMP_GEAR_ITEMDISPLAY_WIDTH, usPosY + IMP_GEAR_ITEMDISPLAY_HEIGHT, Get16BPPColor( FROMRGB( 230, 84, 43 ) ) );
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
void BtnIMPGearFinishCallback( GUI_BUTTON *btn, INT32 reason )
|
||||
|
||||
Reference in New Issue
Block a user