spectator mode during demoplayback

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1435 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-11-17 16:57:48 +00:00
parent ca1406a955
commit 3bdd0129f7
8 changed files with 35 additions and 21 deletions
+1 -1
View File
@@ -525,7 +525,7 @@ void drawhudgun(int w, int h, float aspect, int farplane)
gluPerspective((float)100.0f*h/w, aspect, 0.3f, farplane); // fov fixed at 100°
glMatrixMode(GL_MODELVIEW);
if(player1->state!=CS_DEAD) renderhudgun();
if(player1->state==CS_ALIVE) renderhudgun();
rendermenumdl();
glMatrixMode(GL_PROJECTION);