From 577099284f17fea25a5f22062fe690b789d3ec39 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Mon, 2 Jan 2023 16:49:02 +1100 Subject: [PATCH] - SW: Increment `PlayClock` at the end of the tic, not at the start. --- source/games/sw/src/player.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/games/sw/src/player.cpp b/source/games/sw/src/player.cpp index d37965d18..40b3176d9 100644 --- a/source/games/sw/src/player.cpp +++ b/source/games/sw/src/player.cpp @@ -6946,8 +6946,7 @@ void domovethings(void) return; } - PlayClock += synctics; - if (PlayClock == 2*synctics) gameaction = ga_autosave; // let the game run for 1 frame before saving. + if (PlayClock == synctics) gameaction = ga_autosave; // let the game run for 1 frame before saving. thinktime.Reset(); thinktime.Clock(); @@ -7030,6 +7029,8 @@ void domovethings(void) MultiPlayLimits(); + PlayClock += synctics; + thinktime.Unclock(); #if 0