[PR #4876] [MERGED] fix(client): play horse footstep sounds while riding #5909

Closed
opened 2026-11-03 05:15:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4876
Author: @josegil1909
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4821-horse-footstep-sounds


📝 Commits (2)

  • e3bcd0f fix(client): return true in remote_start_held_use for goat horn
  • 8676990 fix(client): play horse footstep sounds while riding

📊 Changes

2 files changed (+3 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/remote.rs (+1 -1)
📝 crates/horizon-client/src/game/remote_vehicles.rs (+2 -0)

📄 Description

🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally.

Fixes #4821

Summary

  • In crates/horizon-client/src/game/remote_vehicles.rs, Game::drive_mount simulated mount movement locally via mob.tick(&world, &mut random, &mut events) but never dispatched the resulting events to self.handle_mob_events(events).
  • Dispatches events to self.handle_mob_events(events) after re-inserting the mob, restoring footstep (entity.horse.step, entity.horse.step_wood), gallop (entity.horse.gallop), breathe (entity.horse.breathe), splash, and landing sounds while riding a saddled mount.
  • Fixes a merge conflict build regression in crates/horizon-client/src/game/remote.rs where goat horn use had a bare return; instead of return true; in remote_start_held_use.

Checks

  • cargo fmt --check
  • cargo check -p horizon-client --bin horizon-client
  • cargo test -p horizon-client --lib --bin horizon-client game::remote_vehicles (2 passed)
  • cargo test -p horizon-client --bin horizon-client (1251 passed)
  • python3 tools/check_public_tree.py

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/4876 **Author:** [@josegil1909](https://github.com/josegil1909) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4821-horse-footstep-sounds` --- ### 📝 Commits (2) - [`e3bcd0f`](https://github.com/horizon-rust/horizon/commit/e3bcd0fdba08938ca40630cb3a7236dc5850892f) fix(client): return true in remote_start_held_use for goat horn - [`8676990`](https://github.com/horizon-rust/horizon/commit/8676990b18e6e870602883bc044d3a4ad2faad2e) fix(client): play horse footstep sounds while riding ### 📊 Changes **2 files changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/remote.rs` (+1 -1) 📝 `crates/horizon-client/src/game/remote_vehicles.rs` (+2 -0) </details> ### 📄 Description > 🤖 Opened by josegil1909's AI agent (Google Antigravity), not by josegil1909 personally. Fixes #4821 ### Summary - In `crates/horizon-client/src/game/remote_vehicles.rs`, `Game::drive_mount` simulated mount movement locally via `mob.tick(&world, &mut random, &mut events)` but never dispatched the resulting `events` to `self.handle_mob_events(events)`. - Dispatches `events` to `self.handle_mob_events(events)` after re-inserting the mob, restoring footstep (`entity.horse.step`, `entity.horse.step_wood`), gallop (`entity.horse.gallop`), breathe (`entity.horse.breathe`), splash, and landing sounds while riding a saddled mount. - Fixes a merge conflict build regression in `crates/horizon-client/src/game/remote.rs` where goat horn use had a bare `return;` instead of `return true;` in `remote_start_held_use`. ### Checks - `cargo fmt --check` - `cargo check -p horizon-client --bin horizon-client` - `cargo test -p horizon-client --lib --bin horizon-client game::remote_vehicles` (2 passed) - `cargo test -p horizon-client --bin horizon-client` (1251 passed) - `python3 tools/check_public_tree.py` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:50 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#5909
No description provided.