fixed the radar not appearing

This commit is contained in:
Zeno Rogue 2019-03-23 16:31:37 +01:00
parent 3508a42efc
commit 1143cf94d2
1 changed files with 4 additions and 2 deletions

View File

@ -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<eModel> 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