diff options
author | Strangerke | 2015-12-13 12:06:38 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:34:02 +0100 |
commit | 6668b76edcb0d0be70314f417c13f535756b0d2c (patch) | |
tree | 282061382e7ef9b6327003cccdb63f52067a9135 /engines | |
parent | ac346869f759475ad00751159a6bad5064f235a2 (diff) | |
download | scummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.tar.gz scummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.tar.bz2 scummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.zip |
LAB: Remove some more useless g_lab
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lab/intro.cpp | 2 | ||||
-rw-r--r-- | engines/lab/music.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp index b6fbf04f2b..fbe1facab8 100644 --- a/engines/lab/intro.cpp +++ b/engines/lab/intro.cpp @@ -88,7 +88,7 @@ void Intro::doPictText(const char *filename, TextFont *msgFont, bool isScreen) { int32 cls, code, Drawn; int16 qualifier; - Common::File *textFile = g_lab->_resource->openDataFile(path); + Common::File *textFile = _vm->_resource->openDataFile(path); byte *textBuffer = new byte[textFile->size()]; textFile->read(textBuffer, textFile->size()); delete textFile; diff --git a/engines/lab/music.cpp b/engines/lab/music.cpp index feddea5895..a996f3169c 100644 --- a/engines/lab/music.cpp +++ b/engines/lab/music.cpp @@ -178,7 +178,7 @@ bool Music::initMusic() { else filename = "Music:BackGrou"; - _file = g_lab->_resource->openDataFile(filename); + _file = _vm->_resource->openDataFile(filename); startMusic(true); return true; } @@ -274,7 +274,7 @@ void Music::changeMusic(const char *newmusic) { _tLeftInFile = _leftinfile; } - _file = g_lab->_resource->openDataFile(newmusic); + _file = _vm->_resource->openDataFile(newmusic); // turn music off _musicOn = true; setMusic(false); |