quake3live/code/server
serge_shubin 8b7ec11034 Fix server command replay: broadcast instead of targeting slot 63
spectatorClientNum was hardcoded to MAX_CLIENTS-1 (63) but the
spectator actually connects at the first free slot after zombie
reservations. Broadcasting with SV_SendServerCommand(NULL, ...)
reaches the spectator regardless of their actual slot number.
Zombie clients (< CS_PRIMED) are skipped by the broadcast loop.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 05:50:15 +08:00
..
server.h Record and replay broadcast server commands (chat, prints) 2026-03-23 05:41:18 +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 Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_init.c Optional LZ4 compression for demo files 2026-03-23 05:22:41 +08:00
sv_main.c Record and replay broadcast server commands (chat, prints) 2026-03-23 05:41:18 +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 Fix server command replay: broadcast instead of targeting slot 63 2026-03-23 05:50:15 +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