From 0a9aaab4d131eee357c82b94bd6769fdd15dcbb2 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 12 Jan 2025 22:04:21 +0300 Subject: [PATCH] Update macos runner (#437) --- .github/workflows/ci-build.yml | 4 ++-- src/animation.h | 2 +- src/obj_types.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 4703edf..71b13b6 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -90,7 +90,7 @@ jobs: ios: name: iOS - runs-on: macos-12 + runs-on: macos-13 steps: - name: Clone @@ -203,7 +203,7 @@ jobs: macos: name: macOS - runs-on: macos-11 + runs-on: macos-13 steps: - name: Clone diff --git a/src/animation.h b/src/animation.h index 9f0e297..b5293a0 100644 --- a/src/animation.h +++ b/src/animation.h @@ -92,7 +92,7 @@ typedef enum AnimationType { LAST_SF_DEATH_ANIM = ANIM_FALL_FRONT_BLOOD_SF, } AnimationType; -#define FID_ANIM_TYPE(value) ((value)&0xFF0000) >> 16 +#define FID_ANIM_TYPE(value) ((value) & 0xFF0000) >> 16 // Signature of animation callback accepting 2 parameters. typedef int(AnimationCallback)(void* a1, void* a2); diff --git a/src/obj_types.h b/src/obj_types.h index 8638f90..c1d1867 100644 --- a/src/obj_types.h +++ b/src/obj_types.h @@ -29,7 +29,7 @@ enum { OBJ_TYPE_COUNT, }; -#define FID_TYPE(value) ((value)&0xF000000) >> 24 +#define FID_TYPE(value) ((value) & 0xF000000) >> 24 #define PID_TYPE(value) (value) >> 24 #define SID_TYPE(value) (value) >> 24