fixed player hud during spectate

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2090 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2008-05-23 19:54:06 +00:00
parent a9dc5b80d4
commit a5a4a5ae14
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ void drawteamicons(int w, int h)
void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwater)
{
playerent *p = camera1->type==ENT_PLAYER ? (playerent *)camera1 : player1;
bool spectating = p->isspectating();
bool spectating = player1->isspectating();
glDisable(GL_DEPTH_TEST);