aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/time.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2018-12-15 22:40:07 +0100
committerPeter Kohaut2018-12-15 23:02:58 +0100
commit2f242a10daee5d95510c43f686f83e3bfb9e3f50 (patch)
treef021bbe73487f258fe6002aa65662225937d9c67 /engines/bladerunner/time.cpp
parent1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe (diff)
downloadscummvm-rg350-2f242a10daee5d95510c43f686f83e3bfb9e3f50.tar.gz
scummvm-rg350-2f242a10daee5d95510c43f686f83e3bfb9e3f50.tar.bz2
scummvm-rg350-2f242a10daee5d95510c43f686f83e3bfb9e3f50.zip
BLADERUNNER: Added time control and game pausing
Diffstat (limited to 'engines/bladerunner/time.cpp')
-rw-r--r--engines/bladerunner/time.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/time.cpp b/engines/bladerunner/time.cpp
index a395a811d1..2e412824f8 100644
--- a/engines/bladerunner/time.cpp
+++ b/engines/bladerunner/time.cpp
@@ -53,7 +53,7 @@ int Time::getPauseStart() {
return _pauseStart;
}
-int Time::unpause() {
+int Time::resume() {
assert(_pauseCount > 0);
if (--_pauseCount == 0) {
_offset += current() - _pauseStart;