diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 21:28:37 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-02 21:28:37 +1000 |
commit | c80b2d2dbc32c45b4eaeb802af6dcdf921b8410b (patch) | |
tree | 41cbe5205b48c6e7d49ccf04d9a2818e68afbc05 /source/game/StarHumanoid.cpp | |
parent | 994c533a0f7b4aa1a1530405505a53546252e1d1 (diff) |
Add loading icon when swapping character
Diffstat (limited to 'source/game/StarHumanoid.cpp')
-rw-r--r-- | source/game/StarHumanoid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/StarHumanoid.cpp b/source/game/StarHumanoid.cpp index 82030e0..d554a10 100644 --- a/source/game/StarHumanoid.cpp +++ b/source/game/StarHumanoid.cpp @@ -526,7 +526,7 @@ List<Drawable> Humanoid::render(bool withItems, bool withRotation) { auto backArmDrawable = [&](String const& frameSet, Directives const& directives) -> Drawable { String image = strf("{}:{}", frameSet, backHand.backFrame); Drawable backArm = Drawable::makeImage(move(image), 1.0f / TilePixels, true, backArmFrameOffset); - backArm.imagePart().addDirectives(directives); + backArm.imagePart().addDirectives(directives, true); backArm.rotate(backHand.angle, backArmFrameOffset + m_backArmRotationCenter + m_backArmOffset); return backArm; }; @@ -710,7 +710,7 @@ List<Drawable> Humanoid::render(bool withItems, bool withRotation) { auto frontArmDrawable = [&](String const& frameSet, Directives const& directives) -> Drawable { String image = strf("{}:{}", frameSet, frontHand.frontFrame); Drawable frontArm = Drawable::makeImage(image, 1.0f / TilePixels, true, frontArmFrameOffset); - frontArm.imagePart().addDirectives(directives); + frontArm.imagePart().addDirectives(directives, true); frontArm.rotate(frontHand.angle, frontArmFrameOffset + m_frontArmRotationCenter); return frontArm; }; |