Transició a surface: barallantme amb tots els Color que hi ha pel codi

This commit is contained in:
2025-03-03 22:58:12 +01:00
parent b940d627d6
commit c4033e3663
20 changed files with 219 additions and 224 deletions

View File

@@ -635,15 +635,15 @@ void Player::setColor()
{
if (options.cheats.invincible == Cheat::CheatState::ENABLED)
{
color_ = stringToColor(options.video.palette, "cyan");
color_ = stringToColor("cyan");
}
else if (options.cheats.infinite_lives == Cheat::CheatState::ENABLED)
{
color_ = stringToColor(options.video.palette, "yellow");
color_ = stringToColor("yellow");
}
else
{
color_ = stringToColor(options.video.palette, "white");
color_ = stringToColor("white");
}
}