misc particle fixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3825 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2011-06-18 15:00:56 +00:00
parent c3573173ef
commit 58c2c63708
2 changed files with 6 additions and 5 deletions

View file

@ -646,13 +646,16 @@ static float Classic_ParticleTrail (vec3_t start, vec3_t end, float leftover, ef
scale = 3; break;
}
leftover = scale - leftover;
VectorMA(point, leftover, delta, point);
len /= scale;
leftover = rlen - ((int)(len) * scale);
if (!(num_particles = (int) len))
goto done;
VectorScale (delta, 1.0 / num_particles, delta);
VectorScale (delta, scale, delta);
for (i = 0; i < num_particles && free_particles; i++)
{

View file

@ -355,10 +355,8 @@ static struct {
} legacynames[] =
{
{"t_rocket", "TR_ROCKET"},
{"te_explosion", "TE_EXPLOSION"},
{"t_blastertrail", "TR_BLASTERTRAIL"},
{"t_rocket", "TR_ROCKET"},
//{"t_blastertrail", "TR_BLASTERTRAIL"},
{"t_grenade", "TR_GRENADE"},
{"t_gib", "TR_BLOOD"},