demo stuck bug fixed

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1911 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-10 13:29:37 +00:00
parent 1f6007d35f
commit 715af8260b
7 changed files with 33 additions and 28 deletions
+2 -2
View File
@@ -475,7 +475,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
if(!hidehudmsgs) hudmsgs.render();
/*
if(!hidespecthud && p->state==CS_DEAD && p->spectating==SM_NONE)
if(!hidespecthud && p->state==CS_DEAD && p->spectatemode==SM_NONE)
{
glLoadIdentity();
glOrtho(0, VIRTW*3/2, VIRTH*3/2, 0, -1, 1);
@@ -485,7 +485,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
}
*/
if(!hidespecthud && (p->state==CS_SPECTATE || (p->state==CS_DEAD && p->spectating!=SM_NONE)))
if(!hidespecthud && (p->state==CS_SPECTATE || (p->state==CS_DEAD && p->spectatemode!=SM_NONE)))
{
glLoadIdentity();
glOrtho(0, VIRTW, VIRTH, 0, -1, 1);