aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lab/intro.cpp2
-rw-r--r--engines/lab/music.cpp4
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);