MCPcopy Index your code
hub / github.com/assaultcube/AC / clockreset

Function clockreset

source/src/main.cpp:1031–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029bool inmainloop = false;
1030static int clockrealbase = 0, clockvirtbase = 0;
1031static void clockreset() { clockrealbase = SDL_GetTicks(); clockvirtbase = totalmillis; }
1032VARFP(clockerror, 990000, 1000000, 1010000, clockreset());
1033VARFP(clockfix, 0, 0, 1, clockreset());
1034

Callers 1

main.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected