1
0
Fork 0
forked from fte/fteqw

Fixes the own-lightning not updating after spectating bug molgrum moaned about ages ago.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2876 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2008-01-23 21:05:18 +00:00
parent 10577d2e95
commit ed953da8ed

View file

@ -2471,7 +2471,7 @@ void CL_UpdateBeams (void)
{
for (j = 0; j < cl.splitclients; j++)
{
if (b->entity == (autocam[j]?spec_track[j]+1:(cl.playernum[j]+1)))
if (b->entity == ((cl.spectator&&autocam[j])?spec_track[j]+1:(cl.playernum[j]+1)))
{
player_state_t *pl;
// VectorSubtract(cl.simorg, b->start, org);