Commit 7961d352 authored by Colomban Wendling's avatar Colomban Wendling
Browse files

GTK Client: in automated board filling, prefer not to rotate the tile

parent 3ce3bacc
......@@ -104,9 +104,10 @@ game_do_try_place_tile (OVCCBoard *board,
case 3: npos.x++; break;
}
for (r = 0; keep_doing && r < 4; r++) {
ovcc_tile_rotate (new_tile, 1);
if (ovcc_game_place_tile (game, ovcc_game_get_current_player (game), &npos)) {
keep_doing = FALSE;
} else {
ovcc_tile_rotate (new_tile, 1);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment