mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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 gfHardAggressiveQueen;
|
||||||
BOOLEAN gfInsaneAggressiveQueen;
|
BOOLEAN gfInsaneAggressiveQueen;
|
||||||
|
|
||||||
|
//Misc settings
|
||||||
BOOLEAN fAmmoDynamicWeight; //Pulmu
|
BOOLEAN fAmmoDynamicWeight; //Pulmu
|
||||||
BOOLEAN fEnableCrepitus;
|
BOOLEAN fEnableCrepitus;
|
||||||
BOOLEAN fEnableAllWeaponCaches;
|
BOOLEAN fEnableAllWeaponCaches;
|
||||||
|
|||||||
+1
-1
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
//RELEASE BUILD VERSION
|
//RELEASE BUILD VERSION
|
||||||
INT16 zVersionLabel[256] = { L"Release v1.13.429" };
|
INT16 zVersionLabel[256] = { L"Release v1.13.430" };
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -900,8 +900,6 @@ void CancelAllPendingBRPurchaseOrders(void)
|
|||||||
// zero out all the quantities on order
|
// zero out all the quantities on order
|
||||||
for(i = 0; i < MAXITEMS; i++)
|
for(i = 0; i < MAXITEMS; i++)
|
||||||
{
|
{
|
||||||
if ( Item[i].usItemClass == 0 )
|
|
||||||
break;
|
|
||||||
LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnOrder = 0;
|
LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnOrder = 0;
|
||||||
LaptopSaveInfo.BobbyRayUsedInventory[ 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
|
//First loop through to get the first and last index indexs
|
||||||
for(i=0; i<MAXITEMS; i++)
|
for(i=0; i<MAXITEMS; i++)
|
||||||
{
|
{
|
||||||
if ( Item[i].usItemClass == 0 )
|
|
||||||
break;
|
|
||||||
//If we have some of the inventory on hand
|
//If we have some of the inventory on hand
|
||||||
if( LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnHand != 0 )
|
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
|
//First loop through to get the first and last index indexs
|
||||||
for(i=0; i<MAXITEMS; i++)
|
for(i=0; i<MAXITEMS; i++)
|
||||||
{
|
{
|
||||||
if ( Item[i].usItemClass == 0 )
|
|
||||||
break;
|
|
||||||
//If we have some of the inventory on hand
|
//If we have some of the inventory on hand
|
||||||
if( LaptopSaveInfo.BobbyRayUsedInventory[ i ].ubQtyOnHand != 0 )
|
if( LaptopSaveInfo.BobbyRayUsedInventory[ i ].ubQtyOnHand != 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -840,8 +840,6 @@ BOOLEAN DoesGunOfSameClassExistInInventory( UINT8 ubItemIndex, UINT8 ubDealerID
|
|||||||
//go through all of the guns
|
//go through all of the guns
|
||||||
for(i=0; i<MAXITEMS; i++)
|
for(i=0; i<MAXITEMS; i++)
|
||||||
{
|
{
|
||||||
if ( Item[i].usItemClass == 0 )
|
|
||||||
break;
|
|
||||||
//if it's the class we are looking for
|
//if it's the class we are looking for
|
||||||
if( Weapon[ i ].ubWeaponClass == ubItemIndex )
|
if( Weapon[ i ].ubWeaponClass == ubItemIndex )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user