Merge master into fix-eventobj, add explicit size to gObjectEventGraphicsInfoPointers
This commit is contained in:
+2
-2
@@ -994,9 +994,9 @@ static void Task_BuyHowManyDialogueInit(u8 taskId)
|
||||
|
||||
maxQuantity = GetMoney(&gSaveBlock1Ptr->money) / gShopDataPtr->totalCost;
|
||||
|
||||
if (maxQuantity > 99)
|
||||
if (maxQuantity > MAX_BAG_ITEM_CAPACITY)
|
||||
{
|
||||
gShopDataPtr->maxQuantity = 99;
|
||||
gShopDataPtr->maxQuantity = MAX_BAG_ITEM_CAPACITY;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user