mirror of
https://github.com/zeldaret/oot
synced 2026-06-01 09:47:45 -04:00
sword -> meleeWeapon (#1147)
This commit is contained in:
+1
-1
@@ -2928,7 +2928,7 @@ s32 Camera_Battle1(Camera* camera) {
|
||||
}
|
||||
anim->roll += (((OREG(36) * camera->speedRatio) * (1.0f - distRatio)) - anim->roll) * PCT(OREG(37));
|
||||
camera->roll = DEGF_TO_BINANG(anim->roll);
|
||||
camera->fov = Camera_LERPCeilF((player->swordState != 0 ? 0.8f
|
||||
camera->fov = Camera_LERPCeilF((player->meleeWeaponState != 0 ? 0.8f
|
||||
: gSaveContext.health <= 0x10 ? 0.8f
|
||||
: 1.0f) *
|
||||
(fov - ((fov * 0.05f) * distRatio)),
|
||||
|
||||
Reference in New Issue
Block a user