From 43e55824ba27c53c0a2bcbefeb1524bba7e3e873 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Sat, 17 May 2008 16:11:42 +0000 Subject: [PATCH] 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 --- engine/client/cl_tent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_tent.c b/engine/client/cl_tent.c index 13e4b501a..5e82f9b4f 100644 --- a/engine/client/cl_tent.c +++ b/engine/client/cl_tent.c @@ -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;