spectator mode, new recoil

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1448 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-01 15:35:56 +00:00
parent d2adbe6d4a
commit 780cc3f4f1
8 changed files with 131 additions and 77 deletions
+1 -1
View File
@@ -337,6 +337,7 @@ void renderclient(playerent *d, char *mdlname, char *vwepname, int tex)
int basetime = -((int)(size_t)d&0xFFF);
if(d->state==CS_DEAD)
{
if(d==player1 && d->allowmove()) return;
loopv(bounceents) if(bounceents[i]->bouncestate==GIB && bounceents[i]->owner==d) return;
d->pitch = 0.1f;
int r = 6;
@@ -354,7 +355,6 @@ void renderclient(playerent *d, char *mdlname, char *vwepname, int tex)
o.z -= t*t/10000000000.0f*t;
}
}
//if(o.z<-1000) return;
}
else if(d->state==CS_EDITING) { anim = ANIM_JUMP|ANIM_END; }
else if(d->state==CS_LAGGED) { anim = ANIM_SALUTE|ANIM_LOOP; }