mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-04 23:14:37 +00:00
sword -> meleeWeapon (#1147)
This commit is contained in:
parent
b9cc31dc74
commit
145b14dbc4
24 changed files with 194 additions and 182 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue