mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Only display IMP gear cost if costs exceed the free amount (IMP_PROFILE_COST), mention the free amount
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8838 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+6
-3
@@ -494,9 +494,12 @@ void IMPGearDisplay( )
|
||||
}
|
||||
}
|
||||
|
||||
CHAR16 wTemp[50];
|
||||
swprintf( wTemp, szIMPGearWebSiteText[6], GetIMPGearCost( ) );
|
||||
DrawTextToScreen( wTemp, LAPTOP_SCREEN_UL_X + 180, LAPTOP_SCREEN_WEB_UL_Y + 360, LAPTOP_TEXT_WIDTH, FONT14ARIAL, IMP_GEAR__COLOR, FONT_MCOLOR_BLACK, FALSE, LEFT_JUSTIFIED );
|
||||
if ( gIMPGearCost > gGameExternalOptions.iIMPProfileCost )
|
||||
{
|
||||
CHAR16 wTemp[50];
|
||||
swprintf( wTemp, szIMPGearWebSiteText[6], GetIMPGearCost(), gGameExternalOptions.iIMPProfileCost );
|
||||
DrawTextToScreen( wTemp, LAPTOP_SCREEN_UL_X + 100, LAPTOP_SCREEN_WEB_UL_Y + 360, LAPTOP_TEXT_WIDTH, FONT12ARIAL, IMP_GEAR__COLOR, FONT_MCOLOR_BLACK, FALSE, LEFT_JUSTIFIED );
|
||||
}
|
||||
}
|
||||
|
||||
void DisplayGear( UINT16 usItem, UINT16 usPosX, UINT16 usPosY, BOOLEAN fWithBackGround, UINT8 aNumber, BOOLEAN fDisplayNumber )
|
||||
|
||||
Reference in New Issue
Block a user