Puppycam: fixed unsmooth landing from the high places
This commit is contained in:
1 parent
435e8c74fa
commit
28c4ae2e3f
1 file changed
+2
-2
@@ -1058,8 +1058,8 @@ void puppycam_projection_behaviours(void)
|
||||
|
||||
if (!(gMarioState->action & ACT_FLAG_SWIMMING))
|
||||
{
|
||||
gPuppyCam.floorY[0] = CLAMP(gPuppyCam.targetObj->oPosY - gPuppyCam.lastTargetFloorHeight, 0, 300);
|
||||
gPuppyCam.floorY[1] = CLAMP(gPuppyCam.targetObj->oPosY - gPuppyCam.lastTargetFloorHeight, 0, 350);
|
||||
gPuppyCam.floorY[0] = CLAMP(gPuppyCam.targetObj->oPosY - gPuppyCam.lastTargetFloorHeight, -300, 300);
|
||||
gPuppyCam.floorY[1] = CLAMP(gPuppyCam.targetObj->oPosY - gPuppyCam.lastTargetFloorHeight, -300, 350);
|
||||
gPuppyCam.swimPitch = approach_f32_asymptotic(gPuppyCam.swimPitch,0,0.2f);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user