useless variable ='(

This commit is contained in:
Mylloon 2023-12-28 00:31:51 +01:00
parent 71ece11ddf
commit cab56ad979
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -12,9 +12,6 @@ Ecran::~Ecran() {}
void Ecran::afficher( void Ecran::afficher(
const std::function<void()> dessin, const std::function<void()> dessin,
const std::function<void(const int, const int)> onLeftClick) const { const std::function<void(const int, const int)> onLeftClick) const {
// Flag qui track si le clic gauche est pressé
bool mouseButtonPressed = false;
while (window.isOpen()) { while (window.isOpen()) {
sf::Event event; sf::Event event;
while (window.pollEvent(event)) { while (window.pollEvent(event)) {