mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-04 10:26:19 -04:00
Merge pull request #147 from Cuyler36/mCoBG_SearchAttribute_fix
Fix mCoBG_SearchAttribute return type
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user