src/main.c

changeset 195
27d02ccb0cef
parent 194
619f07c95894
--- a/src/main.c	Tue Aug 25 18:59:18 2026 +0200
+++ b/src/main.c	Tue Aug 25 19:42:15 2026 +0200
@@ -286,7 +286,7 @@
 
     for (Rank y = 0 ; y < 8 ; y++) {
         for (File x = 0 ; x < 8 ; x++) {
-            Piece piece = piece_at(gamestate, y, x);
+            Piece piece = piece_at(gamestate, x, y);
             Color col = piece_color(piece);
 
             char piecestr[5];

mercurial