diff options
author | Johannes Schickel | 2010-10-27 22:52:02 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-10-27 22:52:02 +0000 |
commit | dac9493069509518c0f508f93630584765bac5df (patch) | |
tree | bc2b719b8d8eb0cd6f0e20cf8a629f8b18a9b692 /engines/engine.cpp | |
parent | ab1c54a9eef79090c7cf81f09e561480b4964671 (diff) | |
download | scummvm-rg350-dac9493069509518c0f508f93630584765bac5df.tar.gz scummvm-rg350-dac9493069509518c0f508f93630584765bac5df.tar.bz2 scummvm-rg350-dac9493069509518c0f508f93630584765bac5df.zip |
ENGINE: Rename resetTotalPlayTime to setTotalPlayTime.
I also extended the comment for it to show two possible use cases.
svn-id: r53895
Diffstat (limited to 'engines/engine.cpp')
-rw-r--r-- | engines/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp index 78e431aa09..0af01f72c9 100644 --- a/engines/engine.cpp +++ b/engines/engine.cpp @@ -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 |