[quake3-commits] [ioquake/ioq3] 45de6b: Fix listen server sending snapshots each client fr...

Zack Middleton zack at cloemail.com
Fri Sep 15 20:35:54 EDT 2017

  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 45de6be4c233891eb70e5592f3287a4af39d6002
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-15 (Fri, 15 Sep 2017)

  Changed paths:
    M code/server/sv_snapshot.c

  Log Message:
  Fix listen server sending snapshots each client frame

Running a server using the client engine would send server snapshots
to loopback and LAN clients each client frame (com_maxfps).

This causes excessive network traffic and likely does not provide new
information to the clients because SV_Frame() won't have run between
the extra snapshots.

This commit restores the original behavior of respecting local/LAN
client's snaps userinfo and sv_fps. The issue was introduced by the
following commit:

    Commit ac30d86db01a43130d2c9ff6fe31d6135d8e2592
    From: Thilo Schulz
    Date: Wed, 13 Jul 2011 17:11:30 +0000
    Subject: - Improve snapshot rate and data rate control

Reported by Eugene C.

More information about the quake3-commits mailing list