Fix timer display
This commit is contained in:
parent
1362a93b4d
commit
7aca665d8e
2 changed files with 4 additions and 3 deletions
4
game.h
4
game.h
|
@ -1213,9 +1213,9 @@ void LCR_gameTimeToStr(uint32_t timeMS, char *str)
|
|||
str[5] = '\'';
|
||||
str[4] = '0' + timeMS % 10; // seconds
|
||||
timeMS /= 10;
|
||||
str[3] = '0' + timeMS % 10;
|
||||
str[3] = '0' + timeMS % 6;
|
||||
str[2] = '\'';
|
||||
timeMS /= 60;
|
||||
timeMS /= 6;
|
||||
str[1] = '0' + timeMS % 10; // minutes
|
||||
timeMS /= 10;
|
||||
str[0] = '0' + timeMS % 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue