mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
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:
@@ -1025,8 +1025,7 @@ void DisplayPurchasedItems( BOOLEAN fCalledFromOrderPage, UINT16 usGridX, UINT16
|
|||||||
UINT16 usStringLength;
|
UINT16 usStringLength;
|
||||||
UINT16 usPixLength;
|
UINT16 usPixLength;
|
||||||
CHAR16 OneChar[2];
|
CHAR16 OneChar[2];
|
||||||
INT32 iGrandTotal;
|
INT32 iSubTotal = 0;
|
||||||
INT32 iSubTotal;
|
|
||||||
UINT32 uiDestPitchBYTES;
|
UINT32 uiDestPitchBYTES;
|
||||||
UINT8 *pDestBuf;
|
UINT8 *pDestBuf;
|
||||||
HVOBJECT hArrowHandle;
|
HVOBJECT hArrowHandle;
|
||||||
@@ -1067,12 +1066,6 @@ void DisplayPurchasedItems( BOOLEAN fCalledFromOrderPage, UINT16 usGridX, UINT16
|
|||||||
guiSubTotal = 0;
|
guiSubTotal = 0;
|
||||||
giGrandTotal = 0;
|
giGrandTotal = 0;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
iSubTotal = 0;
|
|
||||||
iGrandTotal = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if( pBobbyRayPurchase == NULL )
|
if( pBobbyRayPurchase == NULL )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user