From 125ce0ef81d8d7d684a92c1c5366d5b38880d8fe Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Tue, 24 May 2022 01:19:38 -0700 Subject: clear undone visit before overwriting with new visit --- match.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'match.h') diff --git a/match.h b/match.h index 32523b6..76a3db4 100644 --- a/match.h +++ b/match.h @@ -41,10 +41,10 @@ struct leg *leg_init(int pts); void leg_free(struct leg *l); void leg_grow_visits(struct leg *l); +void leg_undo_visit(struct leg *l); +struct visit *leg_redo_visit(struct leg *l); struct visit *leg_comp_visit(struct leg *l, bool redo_undone); struct visit *leg_pts_visit(struct leg *l, int pts); -void leg_undo_visit(struct leg *l); -void leg_redo_visit(struct leg *l); struct match *match_init(); void match_free(struct match *m); -- cgit v1.2.3-70-g09d2