summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-06-20 19:54:16 -0500
committerGitHub <noreply@github.com>2018-06-20 19:54:16 -0500
commit7b7f4bb7d6f5d29b40e15aa4c6285c6885359e0d (patch)
tree8da3f8fae8c1c165e3435ee079f48631479b7611 /src/field_tasks.c
parentc6207577802db057298917089e427a6ab9e6edf9 (diff)
parent8bf4b1a917786c683ac30278108f74d31961274d (diff)
Merge pull request #636 from huderlem/assets
Map organization
Diffstat (limited to 'src/field_tasks.c')
-rw-r--r--src/field_tasks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c
index 25a4efc58..ea2058965 100644
--- a/src/field_tasks.c
+++ b/src/field_tasks.c
@@ -611,8 +611,8 @@ bool32 sub_8069D34(s16 x, s16 y)
void SetSootopolisGymCrackedIceMetatiles(void)
{
s32 x, y;
- s32 width = gMapHeader.mapData->width;
- s32 height = gMapHeader.mapData->height;
+ s32 width = gMapHeader.mapLayout->width;
+ s32 height = gMapHeader.mapLayout->height;
for (x = 0; x < width; x++)
{
for (y = 0; y < height; y++)