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

summaryrefslogtreecommitdiff
path: root/source/game/StarPlayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarPlayer.cpp')
-rw-r--r--source/game/StarPlayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/game/StarPlayer.cpp b/source/game/StarPlayer.cpp
index 0f7484a..bb47704 100644
--- a/source/game/StarPlayer.cpp
+++ b/source/game/StarPlayer.cpp
@@ -353,11 +353,11 @@ List<Drawable> Player::drawables() const {
for (auto& drawable : m_humanoid->render()) {
drawable.translate(position() + m_techController->parentOffset());
if (drawable.isImage()) {
- drawable.imagePart().addDirectives(m_techController->parentDirectives(), true);
- drawable.imagePart().addDirectives(m_statusController->parentDirectives(), true);
+ drawable.imagePart().addDirectivesGroup(m_techController->parentDirectives(), true);
+ drawable.imagePart().addDirectivesGroup(m_statusController->parentDirectives(), true);
if (auto anchor = as<LoungeAnchor>(m_movementController->entityAnchor())) {
- if (auto directives = anchor->directives)
+ if (auto& directives = anchor->directives)
drawable.imagePart().addDirectives(*directives, true);
}
}