summaryrefslogtreecommitdiff
path: root/src/object/objectAF.c
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2022-01-09 23:46:09 -0800
committerGitHub <noreply@github.com>2022-01-09 23:46:09 -0800
commite0194734ab4376fe55fbe8f3848d60b9feefe2cc (patch)
treedeb81d905c6b83269744c1d3b4846e60a005fef8 /src/object/objectAF.c
parent3684f8ba88ad1ba8e15257819cd7d1c01e259ad2 (diff)
parent4fc5a7c3e4dd240db3bc190439d07fcecba7b0e1 (diff)
Merge pull request #272 from Ibot02/gyorg
Gyorg
Diffstat (limited to 'src/object/objectAF.c')
-rw-r--r--src/object/objectAF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/objectAF.c b/src/object/objectAF.c
index 0aff1ed3..f34ff4f2 100644
--- a/src/object/objectAF.c
+++ b/src/object/objectAF.c
@@ -47,7 +47,7 @@ void sub_080A0624(Entity* this) {
void sub_080A0640(Entity* this) {
if (this->type == 0) {
- PositionRelative(*(Entity**)(this->parent->myHeap + 0x4), this, 0, 0x80000);
+ PositionRelative(*(((Entity**)this->parent->myHeap) + 4), this, 0, 0x80000);
} else {
CopyPosition(this->parent, this);
}