summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
authorGarak <thomastaps194@comcast.net>2018-07-04 11:11:45 -0400
committerGitHub <noreply@github.com>2018-07-04 11:11:45 -0400
commite06b63efc9ea39875b17f00e5ff20c2e0fcb0415 (patch)
treee8d37347ae000823943ef57973dc34dd98633b40 /src/field_tasks.c
parent9acd55ae4f9e455a92765aaee5929240097f9f8f (diff)
parentefebc51972b23ddffa2700b1dd6895d4728646a3 (diff)
Merge pull request #1 from pret/master
synching with source repo
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++)