aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/anim.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-23 18:56:35 +0100
committerWillem Jan Palenstijn2015-12-23 21:43:16 +0100
commit34b59256fcddc116eb4ffd6069e1d034462168fc (patch)
tree3a0d0aefa2946a6f61143578a922b87d739b90d6 /engines/lab/anim.cpp
parente8edff85f395d8c812f154c230300fd70b127171 (diff)
downloadscummvm-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.cpp8
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;