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
@@ -186,9 +186,7 @@ BOOL daHookshot_c::procWait() {
mSightCps.SetR(5.0f);
mSightCps.CalcAtVec();
dComIfG_Ccsp()->Set(&mSightCps);
// Using the inline breaks the match.
// dComIfG_Ccsp()->SetMass(&mSightCps, 1);
g_dComIfG_gameInfo.play.mCcS.SetMass(&mSightCps, 1);
dComIfG_Ccsp_SetMass(&mSightCps, 1);
m2A3 = false;
mCurrProcFunc = &daHookshot_c::procShot;
@@ -298,9 +296,7 @@ BOOL daHookshot_c::procShot() {
mSightCps.SetR(5.0f);
mSightCps.CalcAtVec();
dComIfG_Ccsp()->Set(&mSightCps);
// Using the inline breaks the match.
// dComIfG_Ccsp()->SetMass(&mSightCps, 1);
g_dComIfG_gameInfo.play.mCcS.SetMass(&mSightCps, 1);
dComIfG_Ccsp_SetMass(&mSightCps, 1);
current.pos = sp8C;
}