diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-28 20:31:04 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-28 20:31:04 -0400 |
| commit | b72d243f9b1ef4d107bb33df3d74cf0ecf488cda (patch) | |
| tree | ea6bd66aa4e38033036af1ebd67e816d7683bc9c /src/d/d_lib.cpp | |
| parent | 8cfd2f7a1e93e7c9a256589f3997e67a02a60f9d (diff) | |
Cleanup the 3 path/point structs
Diffstat (limited to 'src/d/d_lib.cpp')
| -rw-r--r-- | src/d/d_lib.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_lib.cpp b/src/d/d_lib.cpp index 5060d4f2..3d98e504 100644 --- a/src/d/d_lib.cpp +++ b/src/d/d_lib.cpp @@ -206,8 +206,8 @@ void dLib_pathMove(cXyz* pos, s8* pPntNo, dPath* pPath, f32 speed, int (*pCallBa } else { pnt_next_no = 0; } - cXyz pnt_pos = pPath->mpPnt[pnt_no].mPos; - cXyz pnt_next_pos = pPath->mpPnt[pnt_next_no].mPos; + cXyz pnt_pos = pPath->m_points[pnt_no].m_position; + cXyz pnt_next_pos = pPath->m_points[pnt_next_no].m_position; cXyz move = (pnt_next_pos - pnt_pos).normZP(); if (pCallBack == NULL) { |
