AVALANCHE: Rework totalTime()
This commit is contained in:
parent
14dee780e0
commit
ac231eb838
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ Common::String Parser::rank() {
|
||||||
Common::String Parser::totalTime() {
|
Common::String Parser::totalTime() {
|
||||||
uint16 h, m, s;
|
uint16 h, m, s;
|
||||||
|
|
||||||
h = (uint16) _vm->_totalTime / 65535 / 3600;
|
h = (uint16)((_vm->_totalTime * 3600) / 65535);
|
||||||
m = h % 3600;
|
m = h % 3600;
|
||||||
h /= 3600;
|
h /= 3600;
|
||||||
s = m % 60;
|
s = m % 60;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue