mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 12:24:45 -04:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user