CLIENT: Fix Stopwatch counting an hour as 360 seconds, and not 3600

This commit is contained in:
cypress 2023-08-27 15:55:43 -04:00 committed by GitHub
parent 6d37aaae5f
commit 10418b38f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -554,7 +554,7 @@ noref void(float width, float height, float menushown) CSQC_UpdateView =
// Increment the stopwatch
// FIXME: I don't really liket his being in UpdateView.. this has nothing to do with rendering.
stopwatch_sec = time - (stopwatch_min * 60 + (stopwatch_hr * 360));
stopwatch_sec = time - (stopwatch_min * 60 + (stopwatch_hr * 3600));
if (stopwatch_sec >= 60) {
stopwatch_min += stopwatch_sec/60;