summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2021-01-20 18:15:17 +0000
committerGitHub <noreply@github.com>2021-01-20 13:15:17 -0500
commit3daeaf2446c0c303fd3bab4498c8e4318e22e9f7 (patch)
treeba0cb25041510f4fb8b049322b1c99621bf94bdb /src/code
parent7c6b953f3853b93780b9f9b469a4e2a2b64e7d02 (diff)
Reduce hardcoded sizes for a few data tables (#646)
Co-authored-by: Thar0 <maximilianc64@gmail.com>
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_scene.c b/src/code/z_scene.c
index dce656a14..05070c214 100644
--- a/src/code/z_scene.c
+++ b/src/code/z_scene.c
@@ -527,7 +527,7 @@ RomFile sNaviMsgFiles[] = {
s16 gLinkObjectIds[] = { OBJECT_LINK_BOY, OBJECT_LINK_CHILD };
-u32 gObjectTableSize = 402;
+u32 gObjectTableSize = ARRAY_COUNT(gObjectTable);
RomFile gObjectTable[] = {
ROM_FILE_UNSET,