mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 11:51:11 +00:00
CLIENT: Fix Stopwatch counting an hour as 360 seconds, and not 3600
This commit is contained in:
parent
6d37aaae5f
commit
10418b38f7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue