*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@965 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-15 22:59:08 +00:00
parent 6c6d6d43f3
commit d6f61ad712
2 changed files with 1 additions and 9 deletions
+1 -7
View File
@@ -238,13 +238,7 @@ void renderclient(playerent *d, char *mdlname, char *vwepname, int tex)
{ anim = ANIM_ATTACK; speed = 300.0f/8; basetime = d->lastaction; }
else if(!d->move && !d->strafe) { anim = ANIM_IDLE|ANIM_LOOP; }
else { anim = ANIM_RUN|ANIM_LOOP; speed = 1860/d->maxspeed; }
float pitch = -d->pitch/4;
int animo = ANIM_CROUCH_IDLE;
float secs = lastmillis/1000.0f;
if((int)secs%2) { pitch = 0; animo = anim; }
else { pitch = 360*(secs - (int)secs); }
rendermodel(mdlname, animo|ANIM_LOOP, tex, 1.5f, d->o.x, d->o.y, mz, d->yaw+90, -pitch/*d->pitch/4*/, speed, basetime, d, vwepname);
rendermodel(mdlname, anim, tex, 1.5f, d->o.x, d->o.y, mz, d->yaw+90, d->pitch/4, speed, basetime, d, vwepname);
}
extern int democlientnum;