Shpoike / Quakespasm

Extra bloaty junk to modernise stuff a bit.
http://triptohell.info/moodles/qss/
GNU General Public License v2.0
184 stars 41 forks source link

CSQC's time #107

Closed Shpoike closed 1 year ago

Shpoike commented 1 year ago

csqc's time global is meant to approximate the server's time global, ie scaling with gametime and stopping when the game is paused. This is so that any networked timers can be used directly, etc. (cltime and clframetime exist for local effects.)

Unfortunately QSS's SV_Physics function just reuses host_frametime, meaning its csqc runs at some other rate unsynchronised with the server such that no timers match and completely desyncing when someone pauses the game or joins mid-game.