aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/intro.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-13 12:06:38 +0100
committerWillem Jan Palenstijn2015-12-23 21:34:02 +0100
commit6668b76edcb0d0be70314f417c13f535756b0d2c (patch)
tree282061382e7ef9b6327003cccdb63f52067a9135 /engines/lab/intro.cpp
parentac346869f759475ad00751159a6bad5064f235a2 (diff)
downloadscummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.tar.gz
scummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.tar.bz2
scummvm-rg350-6668b76edcb0d0be70314f417c13f535756b0d2c.zip
LAB: Remove some more useless g_lab
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r--engines/lab/intro.cpp2
1 files changed, 1 insertions, 1 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;