fix showing minimap/radar in fly spectate mode

This commit is contained in:
aurhat
2021-10-20 21:46:04 +02:00
parent 2388a483bd
commit a95a4048cf
+1 -1
View File
@@ -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);