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; } }