Skip to content

Commit

Permalink
Remove critical wiggles (#129)
Browse files Browse the repository at this point in the history
* toggle for bad crit wiggles

* remove it entirely
  • Loading branch information
Yanis002 authored Jun 2, 2024
1 parent 9ceccd5 commit db96daa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/code/z_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1781,12 +1781,6 @@ s32 Camera_Normal1(Camera* camera) {
camera->inputDir.y = eyeAdjustment.yaw;
camera->inputDir.z = 0;
}

// crit wiggle
if (gSaveContext.save.info.playerData.health <= 16 && ((camera->play->state.frames % 256) == 0)) {
wiggleAdj = Rand_ZeroOne() * 10000.0f;
camera->inputDir.y = wiggleAdj + camera->inputDir.y;
}
} else {
rwData->swing.swingUpdateRate = roData->unk_0C;
rwData->swing.unk_18 = 0;
Expand Down

0 comments on commit db96daa

Please sign in to comment.