summaryrefslogtreecommitdiff
path: root/internal_rewrite/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'internal_rewrite/ui.h')
-rw-r--r--internal_rewrite/ui.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal_rewrite/ui.h b/internal_rewrite/ui.h
index 39233c7..0970f26 100644
--- a/internal_rewrite/ui.h
+++ b/internal_rewrite/ui.h
@@ -550,9 +550,11 @@ namespace ui
other_form->add_item( std::make_shared< ui::c_dropdown< > >( 0, 0, 120, xors( "bullet tracers" ), &g_settings.visuals.bullet_tracers, &dropdowns::tracer_type ) );
other_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "floating ragdolls" ), &g_settings.visuals.floating_ragdolls ) );
other_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "rank revealer" ), &g_settings.misc.rank_reveal ) );
+ other_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "hit ghost" ), &g_settings.visuals.hits ) );
other_form->add_item( std::make_shared< ui::c_checkbox >( 0, 0, xors( "target" ), &g_settings.visuals.target ) );
+
other_form->add_item( std::make_shared< ui::c_slider< int > >( 0, 0, 120, 1, 7, &g_settings.visuals.target_time, "s" )
- )->set_cond( [ ]( ) { return g_settings.visuals.target; } );
+ )->set_cond( [ ]( ) { return g_settings.visuals.target || g_settings.visuals.hits; } );
}
auto chams_form = std::make_shared< ui::c_form >( 0, 0, 215, 0, xors( "chams" ), 165 ); {