From 4fc3fe0080fc73614107a3905f8bb2f8000e0725 Mon Sep 17 00:00:00 2001 From: CreateSource Date: Mon, 1 Jan 2024 00:03:25 -0500 Subject: [PATCH] oop cleanup on aisle me --- include/game/board/basic_space.h | 4 +--- src/game/board/basic_space.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/game/board/basic_space.h b/include/game/board/basic_space.h index 6b0f306c..b92c0e37 100644 --- a/include/game/board/basic_space.h +++ b/include/game/board/basic_space.h @@ -12,8 +12,6 @@ typedef struct bit_copy { u8 field08_bit1 : 1; u8 field08_bit2 : 1; u8 field08_bit3 : 3; - u8 field08_bit6 : 1; - u8 field08_bit7 : 1; }; s8 unk_01; s8 unk_02; @@ -24,7 +22,7 @@ typedef struct bit_copy { s16 unk_0A; s16 unk_0C; s16 unk_0E; -} bitcopy; +} bitcopy; // sizeof 0x10 void BoardEventLandBlue(s32); void BoardEventLandRed(s32); diff --git a/src/game/board/basic_space.c b/src/game/board/basic_space.c index bda049d8..d08857fc 100644 --- a/src/game/board/basic_space.c +++ b/src/game/board/basic_space.c @@ -139,7 +139,7 @@ s8 fn_8007FE70(Point3d* arg0, s8 arg1) { temp_r31->field08_bit3 = 0; temp_r31->unk_02 = __abs(arg1) / 10; temp_r31->unk_03 = __abs(arg1) % 10; - temp_r31->unk_01 = (s8) (var_r29 + 1); + temp_r31->unk_01 = var_r29 + 1; temp_r31->unk_04 = 0; temp_r31->unk_06 = 0; fn_80080124(temp_r31, arg0);