From 128f42a57a43ac25dfa6ac1915bb96422342924e Mon Sep 17 00:00:00 2001 From: Cuyler36 Date: Sat, 11 Nov 2023 18:47:07 -0500 Subject: [PATCH] Fix mCoBG_SearchAttribute return type --- rel/m_collision_bg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rel/m_collision_bg.c b/rel/m_collision_bg.c index 535cb207..b1746996 100644 --- a/rel/m_collision_bg.c +++ b/rel/m_collision_bg.c @@ -397,10 +397,10 @@ static void mCoBG_MakeTab2MoveTail(xz_t* dst_xz, xz_t* src_xz) { } } -static void mCoBG_SearchAttribute(xyz_t wpos, int direct, s8* can_dig) { +static u32 mCoBG_SearchAttribute(xyz_t wpos, int direct, s8* can_dig) { xyz_t next_ut; wpos.y = 0.0f; mCoBG_PlussDirectOffset(&next_ut, wpos, direct); - mCoBG_Wpos2Attribute(next_ut, can_dig); + return mCoBG_Wpos2Attribute(next_ut, can_dig); }