From: hgn Date: Tue, 23 Apr 2024 20:26:58 +0000 (+0100) Subject: filter input while workshop form is open X-Git-Url: https://harrygodden.com/git/?a=commitdiff_plain;ds=sidebyside;h=d74362c9d867f465d887ccd0df36c07efb5e125c;p=carveJwlIkooP6JGAAIwe30JlM.git filter input while workshop form is open --- diff --git a/input.h b/input.h index 131ab8c..3377824 100644 --- a/input.h +++ b/input.h @@ -187,7 +187,8 @@ struct { static srinput; static int input_filter_generic(void){ - if( srinput.state != k_input_state_enabled || vg_console.enabled ) + if( (srinput.state != k_input_state_enabled) || vg_console.enabled || + (workshop_form.page != k_workshop_form_hidden) ) return 1; else return 0; diff --git a/menu.c b/menu.c index 091deb0..279dbf5 100644 --- a/menu.c +++ b/menu.c @@ -1037,7 +1037,7 @@ void menu_gui(void) { menu.guide_sel = 0; menu_link_modal( - "https://skaterift.com/index.php?page=skating" ); + "https://skaterift.com/index.php?page=movement" ); } if( menu.guide_sel == 0 || menu.guide_sel > 3 ) menu_try_find_cam( 3 );