Skip to content

Commit 44d3ea9

Browse files
authored
Fix small non-config oversights (#6616)
1 parent c1910b2 commit 44d3ea9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

code/hud/hudtargetbox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1789,7 +1789,7 @@ void HudGaugeTargetBox::renderTargetShipInfo(object *target_objp, bool config)
17891789
}
17901790
}
17911791

1792-
renderPrintfWithGauge(x + fl2i(Hull_offsets[0] * scale)-w, y + fl2i(Hull_offsets[1] * scale), EG_TBOX_HULL, scale, true, "%s", outstr);
1792+
renderPrintfWithGauge(x + fl2i(Hull_offsets[0] * scale)-w, y + fl2i(Hull_offsets[1] * scale), EG_TBOX_HULL, scale, config, "%s", outstr);
17931793
setGaugeColor(HUD_C_NONE, config);
17941794

17951795
// Config version doesn't do any of the stuff below

code/hud/hudwingmanstatus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ void HudGaugeWingmanStatus::render(float /*frametime*/, bool config)
657657

658658
int count = 0;
659659
for (int i = 0; i < MAX_SQUADRON_WINGS; i++) {
660-
if (!config && ((HUD_wingman_status[i].used) || (HUD_wingman_status[i].ignore)) ) {
660+
if (!config && !((HUD_wingman_status[i].used) || (HUD_wingman_status[i].ignore)) ) {
661661
continue;
662662
}
663663

0 commit comments

Comments
 (0)