From 8c19632c289fc25f07ee1e974b1a9c0b95f24e98 Mon Sep 17 00:00:00 2001 From: MaddMugsy Date: Wed, 19 Jul 2006 16:39:36 +0000 Subject: [PATCH] -spreadsheet update -minor BR restock formula change (probably won't matter) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@356 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Laptop/BobbyR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Laptop/BobbyR.cpp b/Laptop/BobbyR.cpp index 264d16440..d466c5767 100644 --- a/Laptop/BobbyR.cpp +++ b/Laptop/BobbyR.cpp @@ -669,7 +669,7 @@ void DailyUpdateOfBobbyRaysNewInventory() if( LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnOrder == 0) { //if the qty on hand is half the desired amount or fewer - if( LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnHand <= (StoreInventory[ usItemIndex ][ BOBBY_RAY_NEW ] / 2 * gGameOptions.ubBobbyRay ) ) + if( LaptopSaveInfo.BobbyRayInventory[ i ].ubQtyOnHand <= (StoreInventory[ usItemIndex ][ BOBBY_RAY_NEW ] * gGameOptions.ubBobbyRay )/2 ) { // remember value of the "previously eligible" flag fPrevElig = LaptopSaveInfo.BobbyRayInventory[ i ].fPreviouslyEligible;