From a87e977769f91b7a9aa29aed0ea4b0fee2f14af8 Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 15 Oct 2014 21:09:27 +0000 Subject: [PATCH] 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 --- Laptop/IMP Gear.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Laptop/IMP Gear.cpp b/Laptop/IMP Gear.cpp index 2526e6ee..4864cef7 100644 --- a/Laptop/IMP Gear.cpp +++ b/Laptop/IMP Gear.cpp @@ -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 )