mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
Change: Regardless of whether or not an IMP is created via old/new method or by loading an existing callsign, gear costs exceeding IMP_PROFILE_COST are deducted extra.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8638 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -568,7 +568,7 @@ void BtnIMPGearFinishCallback( GUI_BUTTON *btn, INT32 reason )
|
||||
INT32 GetIMPGearCost( )
|
||||
{
|
||||
if ( IsIMPGearUsed( ) )
|
||||
return max( 0, gIMPGearCost - 3000 );
|
||||
return max( 0, gIMPGearCost - gGameExternalOptions.iIMPProfileCost );
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user