tabs on game_redo

This commit is contained in:
thibault perrier committed 2021-12-16 10:15:04 +01:00
1 parent 9c60c774a5
commit a6acbba9aa
1 file changed
+3 -3
+3 -3
View File
@@ -70,8 +70,8 @@ void game_redo(game g) {
printf("waiting for you to undo first");
}
else{
game_set_square(g, history_i(history_next(g->hist)), history_j(history_next(g->hist)), history_state(history_next(g->hist)));
game_update_flags(g);
g->hist = history_next(g->hist);
game_set_square(g, history_i(history_next(g->hist)), history_j(history_next(g->hist)), history_state(history_next(g->hist)));
game_update_flags(g);
g->hist = history_next(g->hist);
}
}