dlights now work for BOTH software AND gl :)

This commit is contained in:
Bill Currie 2000-12-22 04:36:28 +00:00
parent bf0f29bdcd
commit 6f30e5ee26

View file

@ -619,11 +619,11 @@ CL_LinkPacketEntities (void)
}
if (model->flags & EF_ROCKET) {
R_RocketTrail (0, (*ent));
dl = CL_AllocDlight (-s1->number);
VectorCopy ((*ent)->origin, dl->origin);
dl->radius = 200;
dl->die = cl.time + 0.1;
R_RocketTrail (0, (*ent));
} else if (model->flags & EF_GRENADE)
R_RocketTrail (1, (*ent));
else if (model->flags & EF_GIB)