Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
.
[graphlib.git] / chateaux / chateaux.cpp
index 64d1c01..9b99028 100644 (file)
@@ -309,6 +309,7 @@ int jeu1(DrawingWindow& w)
         perdant = tir(w, x0, y0, v0, alpha, x, y);
         dessineExplosion(w, x, y);
         dessineVent(w, wnd);
+        w.sync();
     } while (!perdant);
     dessineFlammes(w, x, y);
     std::stringstream msg;