#594924 overgod: Time attack time displayed incorrectly past 1 hour

Package:
overgod
Source:
overgod
Description:
bi-directional scrolling arcade game
Submitter:
Josh Triplett
Date:
2010-08-30 19:15:04 UTC
Severity:
normal
#594924#3
Date:
2010-08-30 19:11:12 UTC
From:
To:
In Time Attack mode, once the time passes 1 hour, it displays
incorrectly: 1:mm:36ss .  The high score list also displays the time
attack high score incorrectly if it exceeds 1 hour.  Checking the code
confirmed my guess about why: the seconds get computed by subtracting
(minutes * 60), without taking hours into account.  So, times in the 2
hour range would show 2:mm:72ss and so on.

This code appears several different times.  A grep through the source
for 'minutes.*\*.*60' seems to turn up all of them, though.

- Josh Triplett