diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-01 22:46:37 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-01-01 22:46:37 +1100 |
commit | aaa1587f0c27572a243c26e449e62a85668df330 (patch) | |
tree | fa2119c5a2ebeabdd5ffa9a8b169d56994fd990d | |
parent | 2ccc2ac48767059df021784cb17293b969e6290a (diff) |
Update StarPlayer.cpp
[skip ci]
-rw-r--r-- | source/game/StarPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp index 48368ec..c094bbb 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -1086,7 +1086,7 @@ void Player::update(float dt, uint64_t) { } if (calculateHeadRotation) { // master or not an OpenStarbound player float headRotation = 0.f; - if (m_humanoid->primaryHandHoldingItem() || m_humanoid->altHandHoldingItem()) { + if (m_humanoid->primaryHandHoldingItem() || m_humanoid->altHandHoldingItem() || m_humanoid->dance()) { auto primary = m_tools->primaryHandItem(); auto alt = m_tools->altHandItem(); String const disableFlag = "disableHeadRotation"; |