diff options
author | Peter Kohaut | 2018-12-15 22:40:07 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-12-15 23:02:58 +0100 |
commit | 2f242a10daee5d95510c43f686f83e3bfb9e3f50 (patch) | |
tree | f021bbe73487f258fe6002aa65662225937d9c67 /engines/bladerunner/mouse.cpp | |
parent | 1d12eb4c11d2ae89c4b06d86d6af98b5ef02f8fe (diff) | |
download | scummvm-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/mouse.cpp')
-rw-r--r-- | engines/bladerunner/mouse.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/mouse.cpp b/engines/bladerunner/mouse.cpp index 093c73fcff..59dcb41ac8 100644 --- a/engines/bladerunner/mouse.cpp +++ b/engines/bladerunner/mouse.cpp @@ -33,6 +33,7 @@ #include "bladerunner/scene_objects.h" #include "bladerunner/settings.h" #include "bladerunner/shape.h" +#include "bladerunner/time.h" #include "bladerunner/view.h" #include "bladerunner/zbuffer.h" @@ -262,7 +263,7 @@ void Mouse::draw(Graphics::Surface &surface, int x, int y) { } void Mouse::updateCursorFrame() { - uint32 now = _vm->getTotalPlayTime(); + uint32 now = _vm->_time->current(); const int offset[4] = { 0, 6, 12, 6 }; if (now - _lastFrameTime < 66) { |