mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
-fixed BR item display error
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@430 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -304,6 +304,7 @@ typedef struct
|
||||
BOOLEAN gfHardAggressiveQueen;
|
||||
BOOLEAN gfInsaneAggressiveQueen;
|
||||
|
||||
//Misc settings
|
||||
BOOLEAN fAmmoDynamicWeight; //Pulmu
|
||||
BOOLEAN fEnableCrepitus;
|
||||
BOOLEAN fEnableAllWeaponCaches;
|
||||
|
||||
+1
-1
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
||||
#else
|
||||
|
||||
//RELEASE BUILD VERSION
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.429" };
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.430" };
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -900,8 +900,6 @@ void CancelAllPendingBRPurchaseOrders(void)
|
||||
// zero out all the quantities on order
|
||||
for(i = 0; i < MAXITEMS; i++)
|
||||
{
|
||||
if ( Item[i].usItemClass == 0 )
|
||||
break;
|
||||
LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnOrder = 0;
|
||||
LaptopSaveInfo.BobbyRayUsedInventory[ i ].ubQtyOnOrder = 0;
|
||||
}
|
||||
|
||||
@@ -1849,8 +1849,6 @@ void SetFirstLastPagesForNew( UINT32 uiClassMask, INT32 iFilter )
|
||||
//First loop through to get the first and last index indexs
|
||||
for(i=0; i<MAXITEMS; i++)
|
||||
{
|
||||
if ( Item[i].usItemClass == 0 )
|
||||
break;
|
||||
//If we have some of the inventory on hand
|
||||
if( LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnHand != 0 )
|
||||
{
|
||||
@@ -1938,8 +1936,6 @@ void SetFirstLastPagesForUsed(INT32 iFilter)
|
||||
//First loop through to get the first and last index indexs
|
||||
for(i=0; i<MAXITEMS; i++)
|
||||
{
|
||||
if ( Item[i].usItemClass == 0 )
|
||||
break;
|
||||
//If we have some of the inventory on hand
|
||||
if( LaptopSaveInfo.BobbyRayUsedInventory[ i ].ubQtyOnHand != 0 )
|
||||
{
|
||||
|
||||
@@ -840,8 +840,6 @@ BOOLEAN DoesGunOfSameClassExistInInventory( UINT8 ubItemIndex, UINT8 ubDealerID
|
||||
//go through all of the guns
|
||||
for(i=0; i<MAXITEMS; i++)
|
||||
{
|
||||
if ( Item[i].usItemClass == 0 )
|
||||
break;
|
||||
//if it's the class we are looking for
|
||||
if( Weapon[ i ].ubWeaponClass == ubItemIndex )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user