1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-14 11:54:39 +00:00

Name PLAYER_STATE1_CHARGING_SPIN_ATTACK (#2203)

* name charge state flag

* format
This commit is contained in:
fig02 2024-09-16 17:14:29 -04:00 committed by GitHub
parent dc9782b5b3
commit 8f0e2fc29c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 16 deletions

View file

@ -2927,7 +2927,7 @@ s32 Camera_Battle1(Camera* camera) {
sp78 = roData->swingPitchFinal;
fov = roData->fov;
if (camera->player->stateFlags1 & PLAYER_STATE1_12) {
if (camera->player->stateFlags1 & PLAYER_STATE1_CHARGING_SPIN_ATTACK) {
// charging sword.
rwData->unk_10 =
Camera_LERPCeilF(CAM_GLOBAL_12 * (1.0f - 0.5f), rwData->unk_10, CAM_UPDATE_RATE_STEP_SCALE_XZ, 0.1f);