[iagno] Remove unnecessary redraw.



commit 883826e4103ddf62578ac2ae24744d1c1d54a6f6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Jun 22 15:01:49 2019 +0200

    Remove unnecessary redraw.

 src/game-view.vala | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index 8a1f9ae..1f96d84 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -909,9 +909,6 @@ private class GameView : Gtk.DrawingArea
                 highlight_x = (uint8) x;
                 highlight_y = (uint8) y;
                 move_if_possible (highlight_x, highlight_y);
-                unowned PossibleMove move;
-                if (game.test_placing_tile (highlight_x, highlight_y, out move))
-                    queue_draw_tile (highlight_x, highlight_y);
             }
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]