From a0007b769869a1f6f6d62607dba6833fdbd1427d Mon Sep 17 00:00:00 2001 From: "C. J. Howard" Date: Sun, 1 Jan 2023 14:20:47 +0800 Subject: [PATCH] Fix sting morphogenesis --- src/game/ant/morphogenesis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/ant/morphogenesis.cpp b/src/game/ant/morphogenesis.cpp index 1ee644f..ed262d3 100644 --- a/src/game/ant/morphogenesis.cpp +++ b/src/game/ant/morphogenesis.cpp @@ -750,7 +750,7 @@ render::model* morphogenesis(const phenome& phenome) if (sting_present) { // Calculate transform from sting space to body space - math::transform sting_to_body = bind_pose_ss.at(gaster_bone) * gaster_skeleton.bind_pose.at(gaster_skeleton.bone_map.at("sting")); + math::transform sting_to_body = gaster_to_body * gaster_skeleton.bind_pose.at(gaster_skeleton.bone_map.at("sting")); // Reskin sting bones std::unordered_set old_sting_bone_indices;