From 1143cf94d22b785b8ba1b01fc8c0bf38591b6607 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 23 Mar 2019 16:31:37 +0100 Subject: [PATCH] fixed the radar not appearing --- hud.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hud.cpp b/hud.cpp index c57c1ff1..91e1f9fa 100644 --- a/hud.cpp +++ b/hud.cpp @@ -385,6 +385,8 @@ void drawStats() { if(viewdists && show_distance_lists) expansion.view_distances_dialog(); if(current_display->sidescreen) return; + + bool h = hide_player(); { dynamicval pm(pmodel, mdDisk); @@ -397,8 +399,8 @@ void drawStats() { current_display->set_projection(0, false); bool cornermode = (vid.xres > vid.yres * 85/100 && vid.yres > vid.xres * 85/100); - - if(vid.radarsize > 0 && hide_player()) + + if(vid.radarsize > 0 && h) #if CAP_RACING if(!racing::on && !peace::on) #endif