tabs on game_redo
This commit is contained in:
1 parent
9c60c774a5
commit
a6acbba9aa
1 file changed
+3
-3
+3
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user