diff --git a/source/game/systems/init_hud_animator.cpp b/source/game/systems/init_hud_animator.cpp index a1079a0..5c9a80a 100644 --- a/source/game/systems/init_hud_animator.cpp +++ b/source/game/systems/init_hud_animator.cpp @@ -232,8 +232,11 @@ namespace Systems::InitHud { float scale, float spacing) { if (Defaults::Hud::LIVES_DISPLAY == Defaults::Hud::LivesDisplay::DIGITS) { - // Mateixa regla que el nivell: zeros a l'esquerra atenuats. - drawScore(text, livesDigits(lives), bright, dim, active, x_left, top_y, scale, spacing); + // Repuestos = vides − 1 (la nau en joc no compta), igual que els + // slots. Mateixa regla de color que el nivell: zeros a l'esquerra + // atenuats, dígit significatiu en endavant encès. + const int SPARES = std::max(0, lives - 1); + drawScore(text, livesDigits(SPARES), bright, dim, active, x_left, top_y, scale, spacing); return; } drawSlots(renderer, shape, lives, bright, dim, x_left, center_y, scale, spacing);