diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 22:02:21 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 22:02:21 +1000 |
commit | 98949574a8cbcd0ba3e0d910fbf1abcbb1bcb1d2 (patch) | |
tree | 2a5a3081f26837fb2496ade69c9ca857afb6e266 /source/game/StarPlayer.cpp | |
parent | 32e6eab0699c0c802435e6fb1a3ad47d2748acee (diff) |
SwimIdle tech parent state
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r-- | source/game/StarPlayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp index c9816c1..188a6a8 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -1773,6 +1773,8 @@ void Player::processStateChanges(float dt) { m_humanoid->setState(Humanoid::Run); } else if (techState == TechController::ParentState::Swim) { m_humanoid->setState(Humanoid::Swim); + } else if (techState == TechController::ParentState::SwimIdle) { + m_humanoid->setState(Humanoid::SwimIdle); } } else { auto loungeAnchor = as<LoungeAnchor>(m_movementController->entityAnchor()); |