@@ -124,8 +124,6 @@ std::string enum_to_string<widget_var>( widget_var data )
124
124
return " body_temp_text" ;
125
125
case widget_var::bp_armor_outer_text:
126
126
return " bp_armor_outer_text" ;
127
- case widget_var::bp_status_sym_text:
128
- return " bp_status_sym_text" ;
129
127
case widget_var::bp_status_legend_text:
130
128
return " bp_status_legend_text" ;
131
129
case widget_var::date_text:
@@ -839,7 +837,6 @@ bool widget::uses_text_function()
839
837
case widget_var::activity_text:
840
838
case widget_var::body_temp_text:
841
839
case widget_var::bp_armor_outer_text:
842
- case widget_var::bp_status_sym_text:
843
840
case widget_var::bp_status_legend_text:
844
841
case widget_var::compass_text:
845
842
case widget_var::compass_legend_text:
@@ -895,7 +892,7 @@ static std::set<bodypart_id> get_bodyparts_from_status_widgets()
895
892
{
896
893
std::set<bodypart_id> ret;
897
894
for ( const widget &w : widget::get_all () ) {
898
- if ( w. _var == widget_var::bp_status_sym_text ) {
895
+ if ( !w. _bps . empty () ) {
899
896
ret.emplace ( w.only_bp () );
900
897
}
901
898
}
@@ -928,10 +925,6 @@ std::string widget::color_text_function_string( const avatar &ava, unsigned int
928
925
desc.first = display::colorized_bodypart_outer_armor ( ava, only_bp () );
929
926
apply_color = false ; // Item name already colorized by tname
930
927
break ;
931
- case widget_var::bp_status_sym_text:
932
- desc.first = display::colorized_bodypart_status_sym_text ( ava, only_bp (), id.str () );
933
- apply_color = false ; // Already colorized
934
- break ;
935
928
case widget_var::bp_status_legend_text:
936
929
desc.first = display::colorized_bodypart_status_legend_text ( ava,
937
930
get_bodyparts_from_status_widgets (), id.str (),
0 commit comments