dComIfG_Ccsp_SetMass

This commit is contained in:
LagoLunatic
2025-05-29 19:40:36 -04:00
parent 7e37357f66
commit 22ba12593a
7 changed files with 26 additions and 50 deletions
+2 -6
View File
@@ -298,9 +298,7 @@ void daArrow_c::arrowShooting() {
mAtCps.CalcAtVec();
dComIfG_Ccsp()->Set(&mAtCps);
// Using the dComIfG_Ccsp inline here breaks the match.
// dComIfG_Ccsp()->SetMass(&mCps, 1);
g_dComIfG_gameInfo.play.mCcS.SetMass(&mAtCps, 1);
dComIfG_Ccsp_SetMass(&mAtCps, 1);
clrAtHitNormal();
setAtHitPosBuff(&end);
@@ -874,9 +872,7 @@ BOOL daArrow_c::procMove() {
mAtCps.CalcAtVec();
dComIfG_Ccsp()->Set(&mAtCps);
// Using the dComIfG_Ccsp inline here breaks the match.
// dComIfG_Ccsp()->SetMass(&mCps, 1);
g_dComIfG_gameInfo.play.mCcS.SetMass(&mAtCps, 1);
dComIfG_Ccsp_SetMass(&mAtCps, 1);
}
return TRUE;