Misc small cleanup

This commit is contained in:
LagoLunatic
2025-04-09 01:49:35 -04:00
parent 2ae6d899f7
commit 556e578f23
6 changed files with 14 additions and 14 deletions
+1 -3
View File
@@ -1849,7 +1849,6 @@ BOOL daShip_c::procCrane() {
return TRUE;
}
setControllAngle(0);
dComIfG_play_c* play = &g_dComIfG_gameInfo.play;
if (!dComIfGp_event_runCheck() && !daPy_getPlayerLinkActorClass()->checkNoControll()) {
if (m0398 == m039A) {
if(std::fabsf(speedF) < 3.0f &&
@@ -1867,8 +1866,7 @@ BOOL daShip_c::procCrane() {
setControllAngle(-0xA00);
}
if (m0353 && (sVar1 != mCurrentRopeSegmentIndex)) {
//dComIfGp_getVibration().StartShock(5, -0x31, cXyz(0.0f, 1.0f, 0.0f));
play->getVibration().StartShock(5, -0x31, cXyz(0.0f, 1.0f, 0.0f)); //Fakematch
dComIfGp_getVibration().StartShock(5, -0x31, cXyz(0.0f, 1.0f, 0.0f));
}
}
else if (m039A > 0) {