Skip to content

Commit

Permalink
fix(skymp5-client): always send standing when using furniture (#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove authored Jul 9, 2024
1 parent 7c03b33 commit 170eb61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions skymp5-client/src/sync/movementGet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ const getRunMode = (ac: Actor): RunMode => {
const speed = ac.getAnimationVariableFloat("SpeedSampled");
if (!speed) return "Standing";

const furniture = ac.getFurnitureReference();
if (furniture !== null) return "Standing"; // TODO: Sitting?

let isRunning = true;
if (ac.getFormID() == 0x14) {
if (!TESModPlatform.isPlayerRunningEnabled() || speed < 150)
Expand Down

0 comments on commit 170eb61

Please sign in to comment.