-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:
MaddMugsy
2006-08-13 08:09:59 +00:00
parent fa0744a0d9
commit 78a7d89dad
5 changed files with 2 additions and 9 deletions
+1
View File
@@ -304,6 +304,7 @@ typedef struct
BOOLEAN gfHardAggressiveQueen;
BOOLEAN gfInsaneAggressiveQueen;
//Misc settings
BOOLEAN fAmmoDynamicWeight; //Pulmu
BOOLEAN fEnableCrepitus;
BOOLEAN fEnableAllWeaponCaches;
+1 -1
View File
@@ -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
-2
View File
@@ -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;
}
-4
View File
@@ -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 )
{
-2
View File
@@ -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 )
{