Put const data in manager31

This commit is contained in:
Tal Hayon
2022-04-18 23:33:17 +03:00
parent 036d01172a
commit ddc0882309
4 changed files with 5 additions and 17 deletions
+4 -3
View File
@@ -16,14 +16,15 @@ typedef struct {
u16 y;
} GoronShopSpawnData;
extern GoronShopSpawnData gUnk_08108D5C[3];
/*
Spawns the shop items for the kinstones for the goron merchant.
*/
void Manager31_Main(Manager31* this) {
static const GoronShopSpawnData gUnk_08108D5C[3] = { { 0x6e, 0x3, 0x210, 0x210 },
{ 0x71, 0x2, 0x220, 0x210 },
{ 0x73, 0x3, 0x230, 0x210 } };
s32 uVar2;
GoronShopSpawnData* spawnData;
const GoronShopSpawnData* spawnData;
s32 count;
if (this->manager.action == 0) {