[PR #4662] [MERGED] Sit up on a cushion after swimming #5765

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

📋 Pull Request Information

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

Base: main ← Head: fix/4509-cushion-swim-pose


📝 Commits (1)

  • b6c5857 Sit up on a cushion after swimming.

📊 Changes

3 files changed (+47 additions, -4 deletions)

View changed files

📝 crates/horizon-client/src/game/lan_actions.rs (+7 -3)
📝 crates/horizon-client/src/motion.rs (+32 -0)
📝 crates/horizon-client/src/pose.rs (+8 -1)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Summary

  • Sitting on a cushion after swimming kept the swim/crawl pose: the seat puts the feet in the support block, so can_fit_pose(Standing) fails and updatePlayerPose leaves the old pose
  • After clearing swimming, force Standing when the fit path would stick on Swimming, and run passenger_pose_tick for riding guests on the server

Fixes #4509

Test plan

  • cargo test -p horizon-client --lib a_swimming_passenger_sits_up
  • cargo test -p horizon-client --lib a_passenger_stops_swimming
  • In-game: swim, then sit on a cushion; the player should sit upright, not stay prone

Made with Cursor


🔄 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/4662 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4509-cushion-swim-pose` --- ### 📝 Commits (1) - [`b6c5857`](https://github.com/horizon-rust/horizon/commit/b6c585706f4f2466120e286b15db7e002ed3a8c2) Sit up on a cushion after swimming. ### 📊 Changes **3 files changed** (+47 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lan_actions.rs` (+7 -3) 📝 `crates/horizon-client/src/motion.rs` (+32 -0) 📝 `crates/horizon-client/src/pose.rs` (+8 -1) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. ## Summary - Sitting on a cushion after swimming kept the swim/crawl pose: the seat puts the feet in the support block, so `can_fit_pose(Standing)` fails and `updatePlayerPose` leaves the old pose - After clearing `swimming`, force `Standing` when the fit path would stick on `Swimming`, and run `passenger_pose_tick` for riding guests on the server Fixes #4509 ## Test plan - [x] `cargo test -p horizon-client --lib a_swimming_passenger_sits_up` - [x] `cargo test -p horizon-client --lib a_passenger_stops_swimming` - [ ] In-game: swim, then sit on a cushion; the player should sit upright, not stay prone Made with [Cursor](https://cursor.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:51 +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#5765
No description provided.