fix(sverm): the dorsal spines are off by default until they are placed right

On a body wearing armour the crest came out through the chest and
shoulder pieces instead of standing off the back. A new "Enabled" entry
under Sverm - Dorsal Spines, false by default, removes it at once; the
placement settings are kept for when it comes back.
This commit is contained in:
kanym 2026-09-30 13:49:44 +02:00
commit 0cd09bc862
2 changed files with 9 additions and 1 deletions

View file

@ -424,7 +424,7 @@ namespace RacesOfValheim
// only the two numbers are live.
int state = GetRenderState(player);
float wanted = 0f;
if (IsSvermPlayer(player) && !player.IsDead() && SvermProgression.GetRules(state).SpineSize > 0f)
if (SvermConfigManagement.Spines && IsSvermPlayer(player) && !player.IsDead() && SvermProgression.GetRules(state).SpineSize > 0f)
{
wanted = state >= SvermConfig.FullWingspanState
? SvermConfigManagement.SizeFull