From cab56ad979f72882a84b8866023638289edb26e6 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 28 Dec 2023 00:31:51 +0100 Subject: [PATCH] useless variable ='( --- src/Ecran.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Ecran.cpp b/src/Ecran.cpp index 084d09c..2ef6390 100644 --- a/src/Ecran.cpp +++ b/src/Ecran.cpp @@ -12,9 +12,6 @@ Ecran::~Ecran() {} void Ecran::afficher( const std::function dessin, const std::function onLeftClick) const { - // Flag qui track si le clic gauche est pressé - bool mouseButtonPressed = false; - while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)) {