Skip to content

Commit acf367e

Browse files
authored
Edge case fix for Always_show_directive_value_count (#6787)
1 parent 73e82d9 commit acf367e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/mission/missiongoals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ void mission_process_event( int event )
990990
mission_event_unset_directive_special(event);
991991
}
992992

993-
if (Mission_events[event].count || Always_show_directive_value_count || (Directive_count > 1)) {
993+
if (Mission_events[event].count || (Directive_count > 1) || (Always_show_directive_value_count && Directive_count != DIRECTIVE_WING_ZERO)) {
994994
Mission_events[event].count = Directive_count;
995995
}
996996

0 commit comments

Comments
 (0)