mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
Better fix for the rocket trail problem, was my mistake.
(^ is xor, not power of.)
This commit is contained in:
parent
030f721d89
commit
2a723b5766
1 changed files with 1 additions and 12 deletions
|
@ -590,19 +590,8 @@ CL_LinkPacketEntities (void)
|
|||
continue;
|
||||
|
||||
// No trail if too far.
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
if (abs ((*ent)->old_origin[i] - (*ent)->origin[i]) > 128)
|
||||
{
|
||||
// if too far
|
||||
VectorCopy ((*ent)->origin, (*ent)->old_origin);
|
||||
break;
|
||||
}
|
||||
}
|
||||
/* FIXME: If swapped with above for loop, particle trails go away
|
||||
if (VectorDistance_fast((*ent)->old_origin, (*ent)->origin) > (128^2))
|
||||
if (VectorDistance_fast((*ent)->old_origin, (*ent)->origin) > (256*256))
|
||||
VectorCopy ((*ent)->origin, (*ent)->old_origin);
|
||||
*/
|
||||
|
||||
if (model->flags & EF_ROCKET) {
|
||||
dl = CL_AllocDlight (-(*ent)->keynum);
|
||||
|
|
Loading…
Reference in a new issue