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

summaryrefslogtreecommitdiff
path: root/source/game/StarArmorWearer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarArmorWearer.cpp')
-rw-r--r--source/game/StarArmorWearer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/game/StarArmorWearer.cpp b/source/game/StarArmorWearer.cpp
index c95eaad..ef67686 100644
--- a/source/game/StarArmorWearer.cpp
+++ b/source/game/StarArmorWearer.cpp
@@ -100,10 +100,12 @@ void ArmorWearer::setupHumanoidClothingDrawables(Humanoid& humanoid, bool forceN
if (backNeedsSync) {
humanoid.setBackArmorFrameset(backArmor->frameset(humanoid.identity().gender));
humanoid.setBackArmorDirectives(backArmor->directives());
+ humanoid.setBackRotatesWithHead(backArmor->instanceValue("rotateWithHead", false).optBool().value());
}
bodyHidden = bodyHidden || backArmor->hideBody();
} else {
humanoid.setBackArmorFrameset("");
+ humanoid.setBackRotatesWithHead(false);
}
if (chestNeedsSync || legsNeedsSync) {