aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/resource.cpp')
-rw-r--r--engines/lab/resource.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lab/resource.cpp b/engines/lab/resource.cpp
index 17535a7659..ba42e9a0ac 100644
--- a/engines/lab/resource.cpp
+++ b/engines/lab/resource.cpp
@@ -59,7 +59,7 @@ TextFont *Resource::getFont(const Common::String fileName) {
if (fileSize <= headerSize)
return nullptr;
- _vm->updateMusicAndEvents();
+ _vm->updateEvents();
TextFont *textfont = new TextFont();
textfont->_dataLength = fileSize - headerSize;
@@ -76,7 +76,7 @@ TextFont *Resource::getFont(const Common::String fileName) {
Common::String Resource::getText(const Common::String fileName) {
Common::File *dataFile = openDataFile(fileName);
- _vm->updateMusicAndEvents();
+ _vm->updateEvents();
uint32 count = dataFile->size();
byte *buffer = new byte[count];
@@ -142,7 +142,7 @@ void Resource::readViews(uint16 roomNum) {
readView(dataFile, curRoom->_view[kDirectionWest]);
readRule(dataFile, curRoom->_rules);
- _vm->updateMusicAndEvents();
+ _vm->updateEvents();
delete dataFile;
}