Fix timer display

This commit is contained in:
Miloslav Ciz 2025-06-02 20:05:17 +02:00
parent 1362a93b4d
commit 7aca665d8e
2 changed files with 4 additions and 3 deletions

View file

@ -15,7 +15,7 @@ fuck issue trackers :D
- press forward map??? :-D only when physics is frozen - press forward map??? :-D only when physics is frozen
- make some kinda repo for world record runs? how will they submit it? - make some kinda repo for world record runs? how will they submit it?
- final tests: - final tests:
- very long replay - very long replay DID 1x
- different resolutions KINDA DID 1x - different resolutions KINDA DID 1x
- different settings (332, POTATO, ...) - different settings (332, POTATO, ...)
- crazy shit with physics - crazy shit with physics
@ -25,6 +25,7 @@ fuck issue trackers :D
- valgrind, cppcheck, different compilers, optimization levels, ... - valgrind, cppcheck, different compilers, optimization levels, ...
- play replay from one platform on another - play replay from one platform on another
- profiling - profiling
- replay stretching DID 1x
- play all maps a lot - play all maps a lot
- correct saving of replays etc. - correct saving of replays etc.
- empty and large data file - empty and large data file

4
game.h
View file

@ -1213,9 +1213,9 @@ void LCR_gameTimeToStr(uint32_t timeMS, char *str)
str[5] = '\''; str[5] = '\'';
str[4] = '0' + timeMS % 10; // seconds str[4] = '0' + timeMS % 10; // seconds
timeMS /= 10; timeMS /= 10;
str[3] = '0' + timeMS % 10; str[3] = '0' + timeMS % 6;
str[2] = '\''; str[2] = '\'';
timeMS /= 60; timeMS /= 6;
str[1] = '0' + timeMS % 10; // minutes str[1] = '0' + timeMS % 10; // minutes
timeMS /= 10; timeMS /= 10;
str[0] = '0' + timeMS % 10; str[0] = '0' + timeMS % 10;