From 59c9b54814a83c0dd196259b5bd60c4f8b1cc214 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 26 Apr 2015 20:15:53 +0000 Subject: [PATCH] Pass local_multires_gauge_graphic to hud_show_orbs --- similar/main/gauges.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/similar/main/gauges.cpp b/similar/main/gauges.cpp index f9e694e80..f46567f3a 100644 --- a/similar/main/gauges.cpp +++ b/similar/main/gauges.cpp @@ -1047,13 +1047,12 @@ static void hud_show_keys(const local_multires_gauge_graphic multires_gauge_grap } #if defined(DXX_BUILD_DESCENT_II) -static void hud_show_orbs (void) +static void hud_show_orbs (const local_multires_gauge_graphic multires_gauge_graphic) { if (game_mode_hoard()) { int x=0,y=LINE_SPACING+FSPACY(1); grs_bitmap *bm; - const local_multires_gauge_graphic multires_gauge_graphic{}; if (PlayerCfg.CockpitMode[1] == CM_FULL_COCKPIT) { x = (SWIDTH/18); } @@ -3105,7 +3104,7 @@ void draw_hud() if (PlayerCfg.CockpitMode[1] != CM_LETTERBOX && PlayerCfg.CockpitMode[1] != CM_REAR_VIEW) { hud_show_flag(); - hud_show_orbs(); + hud_show_orbs(multires_gauge_graphic); } #endif HUD_render_message_frame();