Fixed crash in debug mode when opening BR Order Page without any item selected first.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9284 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Shadooow
2022-01-31 00:29:11 +00:00
parent 44eccb5eab
commit 0c95fd4f2a
+1 -8
View File
@@ -1025,8 +1025,7 @@ void DisplayPurchasedItems( BOOLEAN fCalledFromOrderPage, UINT16 usGridX, UINT16
UINT16 usStringLength;
UINT16 usPixLength;
CHAR16 OneChar[2];
INT32 iGrandTotal;
INT32 iSubTotal;
INT32 iSubTotal = 0;
UINT32 uiDestPitchBYTES;
UINT8 *pDestBuf;
HVOBJECT hArrowHandle;
@@ -1067,12 +1066,6 @@ void DisplayPurchasedItems( BOOLEAN fCalledFromOrderPage, UINT16 usGridX, UINT16
guiSubTotal = 0;
giGrandTotal = 0;
}
else
{
iSubTotal = 0;
iGrandTotal = 0;
}
if( pBobbyRayPurchase == NULL )
{