diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-19 20:49:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 20:49:58 -0500 |
commit | 6999b237ebbc36c3aa751335027bcba6b5b3556f (patch) | |
tree | 993f5737fbe70a21f062e7d18908267a456f145d /src/region_map.c | |
parent | c2ddb92c9e0905a6625f83f7b5e0936b630c0597 (diff) | |
parent | 752982552e212dcb33d57c66342f87eba3ce9089 (diff) |
Merge pull request #1309 from GriffinRichards/misc-macro
Use constants for item data, misc other constants/fixes
Diffstat (limited to 'src/region_map.c')
-rw-r--r-- | src/region_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/region_map.c b/src/region_map.c index c2a5b4e9c..22b925a6f 100644 --- a/src/region_map.c +++ b/src/region_map.c @@ -1677,7 +1677,7 @@ void CB2_OpenFlyMap(void) break; case 1: ResetBgsAndClearDma3BusyFlags(0); - InitBgsFromTemplates(1, sFlyMapBgTemplates, 3); + InitBgsFromTemplates(1, sFlyMapBgTemplates, ARRAY_COUNT(sFlyMapBgTemplates)); gMain.state++; break; case 2: |