don't show radar in edit mode
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3022 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user