summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-07-01 12:16:52 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-07-01 12:16:52 +0200
commitf35c0abe80ce9ec91618b2237d68463100fa4afa (patch)
tree4edd09c2823f967967011d26b39564e4d0f601d8 /src/field_tasks.c
parentd2e47323fe988e430af782c2c10b8e41e7a131b3 (diff)
parentefebc51972b23ddffa2700b1dd6895d4728646a3 (diff)
merge with battle tent update
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 d9c3078da..3cc40ac9d 100644
--- a/src/field_tasks.c
+++ b/src/field_tasks.c
@@ -525,8 +525,8 @@ static bool32 sub_809E184(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++)