From cbbb37271bdfd5b51824f8b5a3ee5354236beff0 Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Wed, 18 May 2022 15:45:21 -0700 Subject: web: remove active leg ptr; various cleanup --- web/web_match.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/web_match.h') diff --git a/web/web_match.h b/web/web_match.h index 56117b5..85fcdbf 100644 --- a/web/web_match.h +++ b/web/web_match.h @@ -14,7 +14,6 @@ enum match_mode { struct match_state { enum match_mode mode; struct leg *legs[2]; - struct leg *active_leg; int active_player; int boat_undone; int num_darts; @@ -35,4 +34,6 @@ void match_opts_free(); bool match_is_over(); +struct leg *state_active_leg(); + #endif -- cgit v1.2.3-70-g09d2