1
0
Fork 0
forked from fte/fteqw

Fix for LG beams end position not being stored when spectating with cl_truelightning.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2961 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2008-05-17 16:11:42 +00:00
parent 61ee26d0ff
commit 43e55824ba

View file

@ -416,7 +416,7 @@ void CL_AddBeam (int tent, int ent, vec3_t start, vec3_t end) //fixme: use TE_ n
{
for (i = 0; i < cl.splitclients; i++)
{
if (ent == (autocam[i]?spec_track[i]:(cl.playernum[i]+1)))
if (ent == (autocam[i]?(spec_track[i]+1):(cl.playernum[i]+1)))
{
VectorCopy(end, playerbeam_end[i]);
break;