Extended timer functions

This commit is contained in:
2023-01-19 16:44:29 +00:00
parent 695c102ce3
commit 63eb212dcd
8 changed files with 64 additions and 27 deletions

View File

@@ -179,9 +179,8 @@ int main(int argc, char **args) {
framems[framei++] = elapsed;
if (framei == FPSBUF) framei = 0;
timer_update(elapsed);
if (sim_play) {
timer_update(elapsed);
physlag += elapsed;
call_updates(elapsed * timescale);