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
+1 -1
View File
@@ -1330,7 +1330,7 @@ static void npc_ne_pathwalk(npc_ne_class* i_this) {
i_this->mPathDir = 1;
i_this->mPathPointNo = 1;
}
dStage_dPnt_c* point = i_this->mpPath->m_points;
dPnt* point = i_this->mpPath->m_points;
point += i_this->mPathPointNo;
i_this->mTargetPos.x = point->m_position.x + cM_rndFX(50.0f);
i_this->mTargetPos.y = point->m_position.y;