*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@216 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-03-11 20:47:11 +00:00
parent f6d7334287
commit 3928c635a7
11 changed files with 166 additions and 1525 deletions
+3 -2
View File
@@ -16,7 +16,8 @@ void renderclient(dynent *d, bool team, char *mdlname, bool vwep, float scale)
float mz = d->o.z-d->eyeheight+1.55f*scale;
int basetime = -((int)d&0xFFF);
if(d->state==CS_DEAD)
{
{
d->pitch = 90.0f;
//if(vwep) mz = S((int)d->o.x, (int)d->o.y)->floor;
int r;
n = (int)d%3; r = range[n];
@@ -69,7 +70,7 @@ void renderclients()
renderclient(d, isteam(player1->team, d->team), "playermodels/terrorist", false, 1.4f);
}
if(d->gunselect>0 && d->gunselect<NUMGUNS)
if(d->gunselect>=0 && d->gunselect<NUMGUNS)
{
sprintf_sd(vwep)("weapons/%s/world", hudgunnames[d->gunselect]);
renderclient(d, isteam(player1->team, d->team), vwep, true, 1.4f);