diff options
| author | coco875 <59367621+coco875@users.noreply.github.com> | 2025-12-16 17:55:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-16 09:55:37 -0700 |
| commit | 1a5c79b641517e38d6a2925ba1f332dffdafc1e8 (patch) | |
| tree | 5c9e0844e2839651cd89c9134e9e725e02680160 /src/code_8003DC40.c | |
| parent | 6b8be33a5bc5f26c425095d8c3d0b9caa7e91ae6 (diff) | |
Player bitflag attributes (pr 750 from the decomp) (#592)
* Player bitflag attributes (pr 750 from the decomp)
Co-Authored-By: Jed Grabman <JedGrabman@users.noreply.github.com>
* remove WATER_NO_INTERACTION
---------
Co-authored-by: Jed Grabman <JedGrabman@users.noreply.github.com>
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/code_8003DC40.c')
| -rw-r--r-- | src/code_8003DC40.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_8003DC40.c b/src/code_8003DC40.c index 4d459cbb5..f4c425ce7 100644 --- a/src/code_8003DC40.c +++ b/src/code_8003DC40.c @@ -197,7 +197,7 @@ void func_8003F138(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 *arg7 += arg1[2] * player->collision.surfaceDistance[2] * 1; func_8002A5F4(arg1, *arg4, arg2, 0.5f, 2); if (player->surfaceType == GRASS) { - player->unk_044 &= ~1; + player->kartProps &= ~BACK_UP; } if (player->collision.orientationVector[1] <= 0.8357f) { arg3[0] = ((player->unk_206 / 182) * 0xC8); @@ -222,7 +222,7 @@ void func_8003F46C(Player* player, Vec3f arg1, Vec3f arg2, Vec3f arg3, f32* arg4 arg1[0] = -player->collision.orientationVector[0]; arg1[1] = -player->collision.orientationVector[1]; arg1[2] = -player->collision.orientationVector[2]; - if ((player->collision.orientationVector[1] < 0.0f) && ((player->unk_0CA & 2) == 0)) { + if ((player->collision.orientationVector[1] < 0.0f) && ((player->lakituProps & HELD_BY_LAKITU) == 0)) { *arg5 += arg1[0] * player->collision.surfaceDistance[2] * 1; *arg6 += arg1[1] * player->collision.surfaceDistance[2] * 1; *arg7 += arg1[2] * player->collision.surfaceDistance[2] * 1; |
