Browse Source

Fix Carthaginian archer tunic extending below legs

- Changed tunic_bot from 'cuirass_bottom - 0.26F' to 'waist_y + 0.05F'
- This prevents the lower torso tunic from stretching unnaturally below the legs
- The tunic now properly terminates near the waist, similar to Roman and Kingdom archers

Co-authored-by: djeada <[email protected]>
copilot-swe-agent[bot] 1 month ago
parent
commit
855d44bd58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      render/entity/nations/carthage/archer_renderer.cpp

+ 1 - 1
render/entity/nations/carthage/archer_renderer.cpp

@@ -440,7 +440,7 @@ public:
         saturate_color(v.palette.leatherDark * QVector3D(1.06F, 0.98F, 0.84F));
 
     QVector3D const tunic_top(0.0F, cuirass_top + 0.04F, 0.0F);
-    QVector3D const tunic_bot(0.0F, cuirass_bottom - 0.26F, 0.0F);
+    QVector3D const tunic_bot(0.0F, waist_y + 0.05F, 0.0F);
     QMatrix4x4 tunic =
         cylinderBetween(ctx.model, tunic_bot, tunic_top, torso_r * 0.94F);
     tunic.scale(1.02F, 1.0F, 0.90F);