Display HUD messages over some less important info

This commit is contained in:
aurhat
2014-10-04 20:27:44 +02:00
parent 7fae0d2a2f
commit 8838972e83
+2 -3
View File
@@ -1025,9 +1025,6 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
if(menu) rendermenu();
else if(command) renderdoc(40, VIRTH, max(commandh*2 - VIRTH, 0));
if(!hidehudmsgs) hudmsgs.render();
if(!hidespecthud && !menu && p->state==CS_DEAD && p->spectatemode<=SM_DEATHCAM)
{
glLoadIdentity();
@@ -1072,6 +1069,8 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
}
}
if(!hidehudmsgs) hudmsgs.render();
if(p->state==CS_ALIVE)
{
glLoadIdentity();