Correction affichage joueur sans charge
This commit is contained in:
parent
3a7a3b4978
commit
7e74ba7393
|
@ -108,7 +108,7 @@ void Player::draw(Level& level) {
|
||||||
} else if (getCharge() < 0) {
|
} else if (getCharge() < 0) {
|
||||||
sprite.setFillColor(sf::Color(239, 83, 80));
|
sprite.setFillColor(sf::Color(239, 83, 80));
|
||||||
} else {
|
} else {
|
||||||
sprite.setFillColor(sf::Color::Transparent);
|
sprite.setFillColor(sf::Color::White);
|
||||||
}
|
}
|
||||||
|
|
||||||
// dessin des sprites
|
// dessin des sprites
|
||||||
|
|
Loading…
Reference in New Issue