summaryrefslogtreecommitdiff
path: root/src/engine/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-12-13 20:08:59 +0100
committerGitHub <noreply@github.com>2025-12-13 12:08:59 -0700
commit4e51b7d5b6a9b89deb5ef135deec0ee5f0087e7c (patch)
tree5c9d1156a8785e1f0736a89c6fa512fae8e4a3d1 /src/engine/vehicles/Boat.cpp
parentb934e98fc34964970ab5efacb2fb7c3372ae0b1a (diff)
Document sound effects (pr 735 from the decomp) (#589)
Co-authored-by: Jed Grabman <JedGrabman@users.noreply.github.com> Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Diffstat (limited to 'src/engine/vehicles/Boat.cpp')
-rw-r--r--src/engine/vehicles/Boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/vehicles/Boat.cpp b/src/engine/vehicles/Boat.cpp
index 5a74dc664..9a47fe1e1 100644
--- a/src/engine/vehicles/Boat.cpp
+++ b/src/engine/vehicles/Boat.cpp
@@ -205,7 +205,7 @@ void ABoat::VehicleCollision(s32 playerId, Player* player) {
if ((is_collide_with_vehicle(Position[0], Position[2], Velocity[0], Velocity[2], 200.0f, 60.0f,
playerX, playerZ) == 1) &&
(y_diff < 60.0)) {
- player->soundEffects |= 0x80000;
+ player->triggers |= HIT_PADDLE_BOAT_TRIGGER;
}
}
}