diff options
| author | Yanis002 <35189056+Yanis002@users.noreply.github.com> | 2025-02-05 12:43:34 +0100 |
|---|---|---|
| committer | Yanis002 <35189056+Yanis002@users.noreply.github.com> | 2025-02-05 12:43:34 +0100 |
| commit | 1f7c5be909e0dccc28b90587d12ccf5c9ab180bf (patch) | |
| tree | a46791ba014a30f25a1d5ade99fa0ca0aac1f20c /src/Main | |
| parent | 4928bc4660791fa40233c5a37256fa7b3d8e8a01 (diff) | |
post-update cleanup: step 4 (builds properly)
Diffstat (limited to 'src/Main')
| -rw-r--r-- | src/Main/Actor/ActorType.cpp | 6 | ||||
| -rw-r--r-- | src/Main/Unknown/UnkStruct_020397f8.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Main/Actor/ActorType.cpp b/src/Main/Actor/ActorType.cpp index 742aa86a..ec5f564f 100644 --- a/src/Main/Actor/ActorType.cpp +++ b/src/Main/Actor/ActorType.cpp @@ -5,8 +5,8 @@ ActorTypeList sActorTypeList; ARM ActorType::ActorType(ActorTypeId id, ActorCreateFunc create, unk32 (*unk_08)()) { this->id = id; this->create = create; - this->mUnk_08 = unk_08; - this->mUnk_0c = 0; + this->unk_08 = unk_08; + this->unk_0c = 0; this->next = NULL; this->Register(); sActorTypeList.tail = this; @@ -17,7 +17,7 @@ ARM ActorType::~ActorType() { } ARM unk32 ActorType::func_0203e7c8() { - if (this->mUnk_08 == NULL) { + if (this->unk_08 == NULL) { return 0; } return (*unk_08)(); diff --git a/src/Main/Unknown/UnkStruct_020397f8.cpp b/src/Main/Unknown/UnkStruct_020397f8.cpp index cfac4ac1..61c6a44e 100644 --- a/src/Main/Unknown/UnkStruct_020397f8.cpp +++ b/src/Main/Unknown/UnkStruct_020397f8.cpp @@ -214,7 +214,7 @@ ARM void UnkStruct_020397f8::vfunc_40(s32 param1, s32 param2) { bVar1 = data_027e0c68.mUnk_28[this->mUnk_50]; this->vfunc_6C(&local_8c, &local_90); - this->func_0203a188(local_8c + param1, local_90 + param2, 0); + this->func_0203a188(local_8c + param1, local_90 + param2); this->func_0203e1b0(param1 + local_8c + (this->mUnk_158.x - (this->mUnk_14 << 3) / 2), param2 + local_90 + (this->mUnk_158.y - (this->mUnk_18 << 3) / 2), 0); if (this->mUnk_584 != 0) { |
