aboutsummaryrefslogtreecommitdiff
path: root/engines/engine.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2010-10-27 22:52:02 +0000
committerJohannes Schickel2010-10-27 22:52:02 +0000
commitdac9493069509518c0f508f93630584765bac5df (patch)
treebc2b719b8d8eb0cd6f0e20cf8a629f8b18a9b692 /engines/engine.cpp
parentab1c54a9eef79090c7cf81f09e561480b4964671 (diff)
downloadscummvm-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.cpp2
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