From 80109a8181701a38e14a80dd97c6a54d69c9e85b Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Thu, 2 May 2024 13:12:18 +1000 Subject: [PATCH] Update StarHumanoid.cpp i am rather sleepy today --- source/game/StarHumanoid.cpp | 4 ++-- 1 file 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 Humanoid::extractScaleFromDirectives(Directives const& d if (!directives) return make_pair(Vec2F::filled(1.f), Directives()); - List entries; + List entries; size_t toReserve = 0; Maybe scale; @@ -1400,7 +1400,7 @@ pair 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; } }