diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-29 06:18:58 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-04-29 06:18:58 +1000 |
commit | 27e0f6bd713285c0b2aa0e358a17fe84bbbfbfdf (patch) | |
tree | d8b0d2b5c15d930b36c9330494f1821b2f1a5f70 /source/game/StarPlayer.cpp | |
parent | f7b7a2d4d54d71e005274297a790f7ec42bd6c1f (diff) |
fix: scale not applying to NPCs properly and applying post-rotation
Diffstat (limited to 'source/game/StarPlayer.cpp')
-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 07196b6..8b15254 100644 --- a/source/game/StarPlayer.cpp +++ b/source/game/StarPlayer.cpp @@ -386,9 +386,9 @@ List<Drawable> Player::drawables() const { }; extractScale(m_techController->parentDirectives().list()); extractScale(m_statusController->parentDirectives().list()); + m_humanoid->setScale(scale); for (auto& drawable : m_humanoid->render()) { - drawable.scale(scale); drawable.translate(position() + m_techController->parentOffset()); if (drawable.isImage()) { drawable.imagePart().addDirectivesGroup(humanoidDirectives, true); |