ENGINE: Rename resetTotalPlayTime to setTotalPlayTime.
I also extended the comment for it to show two possible use cases. svn-id: r53895
This commit is contained in:
parent
ab1c54a9ee
commit
dac9493069
4 changed files with 10 additions and 6 deletions
|
@ -410,7 +410,7 @@ uint32 Engine::getTotalPlayTime() const {
|
|||
return _pauseStartTime - _engineStartTime;
|
||||
}
|
||||
|
||||
void Engine::resetTotalPlayTime(uint32 time) {
|
||||
void Engine::setTotalPlayTime(uint32 time) {
|
||||
const uint32 currentTime = _system->getMillis();
|
||||
|
||||
// We need to reset the pause start time here in case the engine is already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue