Fix dPnt struct (#2361)

* Fix dPnt struct

* Fix Vec warning
This commit is contained in:
LagoLunatic
2025-03-30 18:45:59 -04:00
committed by GitHub
parent 7ac9c97e33
commit a87e831b18
38 changed files with 82 additions and 80 deletions
+2 -2
View File
@@ -177,7 +177,7 @@ static BOOL path_check(e_s1_class* i_this) {
start_pos = a_this->current.pos;
start_pos.y += WREG_F(0) + 10.0f;
dStage_dPnt_c* point = i_this->mpPath->m_points;
dPnt* point = i_this->mpPath->m_points;
for (int i = 0; i < i_this->mpPath->m_num; i++, point++) {
if (i < 255) {
end_pos.x = point->m_position.x;
@@ -754,7 +754,7 @@ static void e_s1_path(e_s1_class* i_this) {
}
{
dStage_dPnt_c* point = &i_this->mpPath->m_points[i_this->mCurrentPathPointNo];
dPnt* point = &i_this->mpPath->m_points[i_this->mCurrentPathPointNo];
i_this->mPathTargetPos.x = point->m_position.x;
i_this->mPathTargetPos.y = point->m_position.y;
i_this->mPathTargetPos.z = point->m_position.z;