summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-06-30 14:43:41 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-06-30 14:43:41 +0200
commit15fe5a031b94b2f9b5686da6ba39a67e92cad31a (patch)
tree18658511c9b9cdc73bbcbea5a0be8bdd7407abb5 /src/field_tasks.c
parent5434db2fc6f4e7ebd8cb6bc76115d5c3b6b5807e (diff)
parent91ee3221b3a4885d155ad2cca16b7678062ad18a (diff)
Merge branch 'master' into decompile_battle_tent
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++)