From 83237c211f21b83959f234b58f44980423864f02 Mon Sep 17 00:00:00 2001 From: navewindre Date: Mon, 19 Nov 2018 11:48:11 +0100 Subject: ddsd --- internal_rewrite/ui.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal_rewrite/ui.h') 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 ); { -- cgit v1.2.3