summaryrefslogtreecommitdiff
path: root/internal_rewrite/ui.h
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-11-19 11:48:11 +0100
committernavewindre <boneyaard@gmail.com>2018-11-19 11:48:11 +0100
commit83237c211f21b83959f234b58f44980423864f02 (patch)
tree921c28e290dc9301b3766823dfe826265ffbc12f /internal_rewrite/ui.h
parentee88bdeca83ebf6aff4b2bebf2c1f93eb2bf9541 (diff)
ddsd
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 ); {