From 50acfc24289ba6e893c778d02fed6376bfe0f031 Mon Sep 17 00:00:00 2001 From: feacur Date: Thu, 28 Nov 2024 19:08:52 +0100 Subject: [PATCH] apply Jenkins fixes https://jenkins.deco.mp/job/OOT/job/PR-2286/32/console --- src/overlays/actors/ovl_player_actor/z_player.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/overlays/actors/ovl_player_actor/z_player.c b/src/overlays/actors/ovl_player_actor/z_player.c index 4130b93550..8e534c52d8 100644 --- a/src/overlays/actors/ovl_player_actor/z_player.c +++ b/src/overlays/actors/ovl_player_actor/z_player.c @@ -41,7 +41,8 @@ typedef struct GetItemEntry { #define CHEST_ANIM_SHORT 0 #define CHEST_ANIM_LONG 1 -#define GET_ITEM_NONE { ITEM_NONE, 0, 0, 0, OBJECT_INVALID } +#define GET_ITEM_NONE \ + { ITEM_NONE, 0, 0, 0, OBJECT_INVALID } typedef struct ExplosiveInfo { /* 0x00 */ u8 itemId; @@ -80,10 +81,10 @@ typedef enum AnimSfxType { #define ANIMSFX_SHIFT_TYPE(type) ((type) << 11) -#define ANIMSFX_DATA(type, frame) ((ANIMSFX_SHIFT_TYPE(type) | ((frame) & 0x7FF))) +#define ANIMSFX_DATA(type, frame) ((ANIMSFX_SHIFT_TYPE(type) | ((frame)&0x7FF))) -#define ANIMSFX_GET_TYPE(data) ((data) & 0x7800) -#define ANIMSFX_GET_FRAME(data) ((data) & 0x7FF) +#define ANIMSFX_GET_TYPE(data) ((data)&0x7800) +#define ANIMSFX_GET_FRAME(data) ((data)&0x7FF) typedef struct AnimSfxEntry { /* 0x00 */ u16 sfxId;