summaryrefslogtreecommitdiff
path: root/src/field_tasks.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-09-29 20:05:01 -0700
committerGitHub <noreply@github.com>2017-09-29 20:05:01 -0700
commit13f16b577935635546698aca88b3d1780cbc4991 (patch)
tree30b1690824dd0486b0e7abe84f56b17aad799b87 /src/field_tasks.c
parentcf0bf8a1f2d3cd97e0fe967270188dda24b8fac2 (diff)
parentb3477c99c6d53c02ed38c2a0fcd02fd5c8d5278d (diff)
Merge pull request #431 from PikalaxALT/field_effect_helpers
Field effect helpers
Diffstat (limited to 'src/field_tasks.c')
-rw-r--r--src/field_tasks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/field_tasks.c b/src/field_tasks.c
index 68ceb67bc..da6f162c2 100644
--- a/src/field_tasks.c
+++ b/src/field_tasks.c
@@ -845,11 +845,11 @@ void Task_MuddySlope(u8 taskId)
}
break;
}
- if (gUnknown_0202E844.field_0 && mapIndices != data[0])
+ if (gCamera.field_0 && mapIndices != data[0])
{
data[0] = mapIndices;
- x2 = gUnknown_0202E844.x;
- y2 = gUnknown_0202E844.y;
+ x2 = gCamera.x;
+ y2 = gCamera.y;
}
else
{