Remove SNAPFLAG_RESET_ENTITIES from unpause (cleared before reaching client)

The flag was cleared at the start of SVD_PlaybackFrame before the
snapshot was built — it never reached the client. Only SERVERCOUNT
toggle is needed for the time delta reset.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
serge_shubin 2026-03-24 17:51:59 +08:00
parent 3dadde6fd1
commit cbd2d1f6ef

View file

@ -912,10 +912,7 @@ void SVD_Pause_f( void ) {
if ( !demo.paused ) {
// resuming — toggle SERVERCOUNT to reset client snapshot timing
// (drifted during pause from identical serverTimes).
// also reset entities so fast-moving objects (rockets) snap to
// position instead of interpolating through the pause gap.
svs.snapFlagServerBit ^= SNAPFLAG_SERVERCOUNT;
svs.snapFlagServerBit |= SNAPFLAG_RESET_ENTITIES;
}
Com_Printf( "Demo playback %s.\n", demo.paused ? "paused" : "resumed" );
}