diff options
author | Strangerke | 2015-12-23 18:56:35 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:43:16 +0100 |
commit | 34b59256fcddc116eb4ffd6069e1d034462168fc (patch) | |
tree | 3a0d0aefa2946a6f61143578a922b87d739b90d6 /engines/lab/anim.cpp | |
parent | e8edff85f395d8c812f154c230300fd70b127171 (diff) | |
download | scummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.tar.gz scummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.tar.bz2 scummvm-rg350-34b59256fcddc116eb4ffd6069e1d034462168fc.zip |
LAB: Replace g_system by _system
Diffstat (limited to 'engines/lab/anim.cpp')
-rw-r--r-- | engines/lab/anim.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lab/anim.cpp b/engines/lab/anim.cpp index b3a5a8f85c..b15e71a888 100644 --- a/engines/lab/anim.cpp +++ b/engines/lab/anim.cpp @@ -95,9 +95,9 @@ void Anim::diffNextFrame(bool onlyDiffData) { if (!onlyDiffData) { if (_headerdata._fps) { - uint32 targetMillis = g_system->getMillis() + _delayMicros; - while (g_system->getMillis() < targetMillis) - g_system->delayMillis(10); + uint32 targetMillis = _vm->_system->getMillis() + _delayMicros; + while (_vm->_system->getMillis() < targetMillis) + _vm->_system->delayMillis(10); } if (_isPal && !_noPalChange) { @@ -302,7 +302,7 @@ void Anim::readDiff(Common::File *diffFile, bool playOnce, bool onlyDiffData) { // as it was possible to see that something was displayed, without being able to tell // what it was. A shorter delay (150ms) makes it acceptable during gameplay and // readable. The big question is: do we need that message? - g_system->delayMillis(150); + _vm->_system->delayMillis(150); if (_headerdata._fps == 1) _headerdata._fps = 0; |