quake3live/code/server
serge_shubin 2ce4aa88f2 Fix follow mode switching and PVS during pause
Three issues fixed:

1. ClientThink called ClientThink_real during demo playback, which
   ran server-side PmoveSingle and overwrote the client-owned
   ps.origin. Now ClientThink returns early in demo mode after
   updating pers.cmd (for button access).

2. Buttons never reached the server while paused: SV_UserMove
   discards usercmds with duplicate serverTime (line 1421). During
   pause, all usercmds have frozen serverTime. Fix: always process
   the last usercmd in the packet during demo playback.

3. Spectator button handling in G_RunFrame demo mode processes
   MOUSE1 (attack) to cycle follow targets via Cmd_FollowCycle_f.
   Removed debug print.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 04:31:39 +08:00
..
lz4.c Add LZ4 compression library (r131) 2026-03-24 02:42:47 +08:00
lz4.h Add LZ4 compression library (r131) 2026-03-24 02:42:47 +08:00
server.h Demo pause: freeze svs.time, hold demo data consumption 2026-03-24 03:28:32 +08:00
sv_bot.c Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
sv_ccmds.c Demo pause: freeze svs.time, hold demo data consumption 2026-03-24 03:28:32 +08:00
sv_client.c Fix follow mode switching and PVS during pause 2026-03-24 04:31:39 +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 Pause demo playback when no spectators are watching 2026-03-23 06:25:16 +08:00
sv_main.c Demo pause: freeze svs.time, hold demo data consumption 2026-03-24 03:28:32 +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 unnecessary SNAPFLAG_RESET_ENTITIES on unpause 2026-03-24 04:10:50 +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