Use composition instead of inheritance for fganon

This commit is contained in:
LagoLunatic
2026-03-31 17:54:29 -04:00
parent 8c1cd423b1
commit bf8e0b31cb
3 changed files with 297 additions and 279 deletions
+294 -277
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -129,7 +129,7 @@ static void move(fgmahou_class* i_this) {
break;
}
i_this->mTargetPos = fganon2->eyePos;
i_this->mTargetPos = fganon2->actor.eyePos;
i_this->mTargetPos.y -= cM_rndFX(50.0f) + 50.0f;
i_this->home.angle.y -= 0x8000;
i_this->home.angle.x *= -1;