Show flag scores in "death camera" state

This commit is contained in:
aurhat
2015-10-20 21:57:16 +02:00
parent cf554261b9
commit 747763fdf7
+2 -3
View File
@@ -1026,13 +1026,12 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
}
if(!hidehudmsgs) hudmsgs.render();
if(p->state==CS_ALIVE)
if(p->state == CS_ALIVE || (p->state == CS_DEAD && p->spectatemode == SM_DEATHCAM))
{
glLoadIdentity();
glOrtho(0, VIRTW/2, VIRTH/2, 0, -1, 1);
if(!hidehudequipment)
if(p->state == CS_ALIVE && !hidehudequipment)
{
pushfont("huddigits");
draw_textf("%d", HUDPOS_HEALTH + HUDPOS_NUMBERSPACING, 823, p->health);