diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-30 18:45:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-30 15:45:59 -0700 |
| commit | 559d389e3dc7d47136b5f2e98ad44c48b5641225 (patch) | |
| tree | c3cf8f64993531f4c91bd11b75476a62bdadcfd6 /src/d/d_path.cpp | |
| parent | ed42b15988227e4f32858093ad430fee06c5adc5 (diff) | |
Fix dPnt struct (#2361)
* Fix dPnt struct
* Fix Vec warning
Diffstat (limited to 'src/d/d_path.cpp')
| -rw-r--r-- | src/d/d_path.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/d_path.cpp b/src/d/d_path.cpp index 3b686c8eb6..ae3a847bb0 100644 --- a/src/d/d_path.cpp +++ b/src/d/d_path.cpp @@ -7,7 +7,7 @@ #include "d/d_com_inf_game.h" /* 800517B0-800517EC 04C0F0 003C+00 0/0 7/7 63/63 .text dPath_GetPnt__FPC5dPathi */ -dStage_dPnt_c* dPath_GetPnt(dPath const* path, int pnt_index) { +dPnt* dPath_GetPnt(dPath const* path, int pnt_index) { if (path == NULL || path->m_points == NULL || pnt_index < 0 || pnt_index >= path->m_num) { return NULL; } @@ -94,10 +94,10 @@ u8 dPath_GetPolyRoomPathVec(cBgS_PolyInfo const& poly, cXyz* p_pathVec, int* par return 0; } - dStage_dPnt_c* pnt_start = path->m_points; - dStage_dPnt_c* pnt_end = &pnt_start[pnt_no]; + dPnt* pnt_start = path->m_points; + dPnt* pnt_end = &pnt_start[pnt_no]; - dStage_dPnt_c* pnt_begin; + dPnt* pnt_begin; if (pnt_no == path->m_num - 1) { pnt_begin = pnt_start; } else { |
