quake3live/code
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
..
botlib Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
bspc Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
cgame Show "Playback Paused" instead of "Connection Interrupted" 2026-03-24 04:09:47 +08:00
client Smooth unpause: reset client time delta and entity interpolation 2026-03-24 03:59:44 +08:00
game Fix follow mode switching and PVS during pause 2026-03-24 04:31:39 +08:00
jpeg-6 Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
macosx Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
null Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
q3_ui Copy game/cgame/ui to missionpack/ for TA configurations 2026-03-18 16:06:35 +08:00
qcommon Client-owned camera for demo spectator 2026-03-24 03:51:51 +08:00
renderer Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
server Fix follow mode switching and PVS during pause 2026-03-24 04:31:39 +08:00
splines Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
ui Build system cleanup: rename to quake3live.exe, fix DLL loading, default to missionpack 2026-03-20 18:17:28 +08:00
unix Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
win32 Input sticky buttons fixed 2026-03-21 20:51:28 +08:00
cgame.lnt Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
clean.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
Construct Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
game.lnt Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
installdebug.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
installrelease.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
installvms.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
Makefile Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
opts.lnt Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
quake3.sln Build system cleanup: rename to quake3live.exe, fix DLL loading, default to missionpack 2026-03-20 18:17:28 +08:00
quake3.vcxproj Optional LZ4 compression for demo files 2026-03-23 05:22:41 +08:00
quake3.vcxproj.filters Migrate to Visual Studio 2022: replace .vcproj with .vcxproj, add .gitignore 2026-03-18 13:36:28 +08:00
renderer.lnt Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
run.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00
runrelease.bat Initial commit: Quake 3 1.32b GPL source 2026-03-18 13:32:24 +08:00