quake3live/code/server
serge_shubin b79eb77bb3 Remove spectatorClientNum hack
spectatorClientNum was hardcoded to MAX_CLIENTS-1 but the spectator
actually connected at a different slot. All skip checks using it
were no-ops protecting the wrong slot. Removed entirely:

- Zombie slots handle player slot reservation
- G_RunFrame recreates the spectator entity via ClientThink_real
- PlayerState injection writes all slots (spectator's ps gets
  overwritten by ClientThink_real anyway)
- SVD_SpectatorClientNum accessor removed

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 06:20:52 +08:00
..
server.h Remove spectatorClientNum hack 2026-03-23 06:20:52 +08:00
sv_bot.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_ccmds.c Fix 8 netdemo bugs found in code review 2026-03-23 05:03:33 +08:00
sv_client.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_game.c Fix chat capture: capture any target, deduplicate in buffer 2026-03-23 05:55:19 +08:00
sv_init.c Optional LZ4 compression for demo files 2026-03-23 05:22:41 +08:00
sv_main.c Capture per-client chat commands for demo recording 2026-03-23 05:53:53 +08:00
sv_net_chan.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_netdemo.c Remove spectatorClientNum hack 2026-03-23 06:20:52 +08:00
sv_rankings.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_snapshot.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_world.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00