git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6608
d7cf8633-e32d-0410-b094-
e92efae38249
// parse player number
i = MSG_ReadByte();
- cl.qw_spectator = (i & 128) != 0;
+ // cl.qw_spectator is an unneeded flag, cl.scores[cl.playerentity].qw_spectator works better (it can be updated by the server during the game)
+ //cl.qw_spectator = (i & 128) != 0;
cl.playerentity = cl.viewentity = (i & 127) + 1;
cl.scores = (scoreboard_t *)Mem_Alloc(cls.levelmempool, cl.maxclients*sizeof(*cl.scores));
// updated from serverinfo
int qw_teamplay;
- // indicates whether the player is spectating
- qboolean qw_spectator;
+ // unused: indicates whether the player is spectating
+ // use cl.scores[cl.playerentity].qw_spectator instead
+ //qboolean qw_spectator;
// movement parameters for client prediction
float qw_movevars_gravity;