-#include "quakedef.h"
-dlight_t cl_dlights[MAX_DLIGHTS];
+#include "quakedef.h"
/*
===============
int i;
dlight_t *dl;
+ /*
// first look for an exact key match
if (ent)
{
if (dl->ent == ent)
goto dlightsetup;
}
+ */
// then look for anything else
dl = cl_dlights;
dlightsetup:
memset (dl, 0, sizeof(*dl));
- dl->ent = ent;
+ //dl->ent = ent;
VectorCopy(org, dl->origin);
dl->radius = radius;
dl->color[0] = red;
}
}
-