*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@64 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2005-10-24 17:32:07 +00:00
parent a80aa09415
commit b9293196a6
3 changed files with 19 additions and 14 deletions
+2 -2
View File
@@ -251,7 +251,7 @@ void transplayer()
float t = (lastmillis-player1->lastaction)/1000.0f;
if(t >= 1.6f) t = 1.6f;
player1->pitch = (float) sin(t)*(-45.0f-player1->oldpitch)+player1->oldpitch;
player1->pitch = (float) sin(t)*(-70.0f-player1->oldpitch)+player1->oldpitch;
glRotated(player1->pitch,-1.0,0.0,0.0);
glRotated(player1->yaw,0.0,1.0,0.0);
@@ -286,7 +286,7 @@ void drawhudmodel(int start, int end, float speed, int base)
void drawhudgun(int w, int h, float aspect, int farplane)
{
if(!hudgun) return;
if(!hudgun || player1->state==CS_DEAD) return;
glEnable(GL_CULL_FACE);