mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Bugfix: Removed the static declaration of NV_AP_COST and BR_FAST_SHIP since they were not cleared (because of static) on a new game (by JMich)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5198 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -210,7 +210,7 @@ BOOLEAN CPostalService::AddPackageToShipment(UINT16 usShipmentID, UINT16 usItemI
|
||||
|
||||
BOOLEAN CPostalService::SendShipment(UINT16 usShipmentID)
|
||||
{
|
||||
static BOOLEAN BR_FAST_SHIP = gGameExternalOptions.fBobbyRayFastShipments;
|
||||
BOOLEAN BR_FAST_SHIP = gGameExternalOptions.fBobbyRayFastShipments;
|
||||
if( usShipmentID > _UsedShipmentIDList.size() ||
|
||||
!_UsedShipmentIDList[usShipmentID])
|
||||
{
|
||||
|
||||
@@ -3583,7 +3583,7 @@ void SMInvClickCallback( MOUSE_REGION * pRegion, INT32 iReason )
|
||||
BOOLEAN fNewItem = FALSE;
|
||||
static BOOLEAN fRightDown = FALSE;
|
||||
static BOOLEAN fLeftDown = FALSE;
|
||||
static bool INV_AP_COST = bool(gGameOptions.fInventoryCostsAP);
|
||||
BOOLEAN INV_AP_COST = gGameOptions.fInventoryCostsAP;
|
||||
|
||||
uiHandPos = MSYS_GetRegionUserData( pRegion, 0 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user