Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-29 06:18:58 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-29 06:18:58 +1000
commit27e0f6bd713285c0b2aa0e358a17fe84bbbfbfdf (patch)
treed8b0d2b5c15d930b36c9330494f1821b2f1a5f70 /source/game/StarPlayer.cpp
parentf7b7a2d4d54d71e005274297a790f7ec42bd6c1f (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.cpp2
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);