*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1214 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-08-08 05:31:34 +00:00
parent cc3b7589bc
commit ff0501d424
12 changed files with 223 additions and 54 deletions
+3 -3
View File
@@ -394,7 +394,7 @@ void renderbounceents()
bounceent *p = bounceents[i];
if(!p) continue;
string model;
float z = p->o.z;
vec o(p->o);
switch(p->bouncestate)
{
@@ -410,13 +410,13 @@ void renderbounceents()
if(t>p->timetolife-2000)
{
t -= p->timetolife-2000;
z -= t*t/4000000000.0f*t;
o.z -= t*t/4000000000.0f*t;
}
break;
}
}
path(model);
rendermodel(model, ANIM_MAPMODEL|ANIM_LOOP, 0, 1.1f, p->o.x, p->o.y, z, p->yaw+90, p->pitch);
rendermodel(model, ANIM_MAPMODEL|ANIM_LOOP, 0, 1.1f, o, p->yaw+90, p->pitch);
}
}