From a95a4048cfdff6c0f640080dab7927d307fabf37 Mon Sep 17 00:00:00 2001 From: aurhat <6187373+aurhat@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:46:04 +0200 Subject: [PATCH] fix showing minimap/radar in fly spectate mode --- source/src/renderhud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index 4442016a..e9bdbd55 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -816,7 +816,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat if(p->state==CS_ALIVE && !hidehudequipment) drawequipicons(p); - if((!hideradar || showmap) && !(player1->spectatemode>=SM_FLY)) drawradar(p, w, h); + if((!hideradar || showmap) && player1->spectatemode <= SM_FLY) drawradar(p, w, h); if(!editmode) { glMatrixMode(GL_MODELVIEW);