diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-02 13:12:18 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-05-02 13:12:18 +1000 |
commit | 80109a8181701a38e14a80dd97c6a54d69c9e85b (patch) | |
tree | 91adbbc48fdfb1a6320294927a7df17411fc2a71 | |
parent | 8cbb262c248e9c681a771a9e0d0849a3af0ab77c (diff) |
Update StarHumanoid.cpp
i am rather sleepy today
-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 1367a30..66a2a95 100644 --- a/source/game/StarHumanoid.cpp +++ b/source/game/StarHumanoid.cpp @@ -1387,7 +1387,7 @@ pair<Vec2F, Directives> Humanoid::extractScaleFromDirectives(Directives const& d if (!directives) return make_pair(Vec2F::filled(1.f), Directives()); - List<Directives::Entry*> entries; + List<Directives::Entry const*> entries; size_t toReserve = 0; Maybe<Vec2F> scale; @@ -1400,7 +1400,7 @@ pair<Vec2F, Directives> Humanoid::extractScaleFromDirectives(Directives const& d if (op) scale = scale.value(Vec2F::filled(1.f)).piecewiseMultiply(op->scale); else { - entries.emplace_back(entry); + entries.emplace_back(&entry); toReserve += string.utf8Size() + 1; } } |