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 ed42b15988
commit 559d389e3d
38 changed files with 82 additions and 80 deletions
+1 -1
View File
@@ -2384,7 +2384,7 @@ void daE_YM_c::executeSwitch() {
field_0x6e6 = 0x5dc;
field_0x6e8 = 0;
} else {
dStage_dPnt_c* pnt = dPath_GetPnt(mpPath, mCurrentPntNo);
dPnt* pnt = dPath_GetPnt(mpPath, mCurrentPntNo);
mCurrentPntNo = 0;
++mCurrentPntNo;
old.pos = pnt->m_position;