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

summaryrefslogtreecommitdiff
path: root/source/game/StarHumanoid.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-11-05 12:07:54 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-11-05 12:07:54 +1100
commitc2ec41c391ced5fb7c3b17002967869bbe614b6a (patch)
treec14288b1db874eaa119da8cc37055d4fcfb7672d /source/game/StarHumanoid.cpp
parent4b0b0474487861211585da47aca51ff462104848 (diff)
Update StarHumanoid.cpp
Diffstat (limited to 'source/game/StarHumanoid.cpp')
-rw-r--r--source/game/StarHumanoid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarHumanoid.cpp b/source/game/StarHumanoid.cpp
index 6dfe8e3..14af148 100644
--- a/source/game/StarHumanoid.cpp
+++ b/source/game/StarHumanoid.cpp
@@ -730,7 +730,7 @@ List<Drawable> Humanoid::render(bool withItems, bool withRotationAndScale) {
}
if (!m_headArmorFrameset.empty()) {
- String image = strf("{}:normal", m_headArmorFrameset);
+ String image = strf("{}:normal{}", m_headArmorFrameset, m_headArmorDirectives.prefix());
auto drawable = Drawable::makeImage(std::move(image), 1.0f / TilePixels, true, headPosition);
drawable.imagePart().addDirectives(getHeadDirectives(), true);
addDrawable(std::move(drawable));