diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index d7b5853c..e5331906 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -484,10 +484,13 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat if(p->state==CS_ALIVE && !hidehudequipment) drawequipicons(p); - glMatrixMode(GL_MODELVIEW); - if(/*!menu &&*/ (!hideradar || showmap)) drawradar(p, w, h); - if(!hideteam && m_teammode) drawteamicons(w, h); - glMatrixMode(GL_PROJECTION); + if(!editmode) + { + glMatrixMode(GL_MODELVIEW); + if(/*!menu &&*/ (!hideradar || showmap)) drawradar(p, w, h); + if(!hideteam && m_teammode) drawteamicons(w, h); + glMatrixMode(GL_PROJECTION); + } char *infostr = editinfo(); int commandh = 1570 + FONTH;