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.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/engines/lab/resource.cpp b/engines/lab/resource.cpp
index 23de58b1f7..f16fd533ca 100644
--- a/engines/lab/resource.cpp
+++ b/engines/lab/resource.cpp
@@ -59,8 +59,6 @@ TextFont *Resource::getFont(const Common::String fileName) {
if (fileSize <= headerSize)
return nullptr;
- _vm->updateEvents();
-
TextFont *textfont = new TextFont();
textfont->_dataLength = fileSize - headerSize;
textfont->_height = dataFile->readUint16LE();
@@ -77,8 +75,6 @@ TextFont *Resource::getFont(const Common::String fileName) {
Common::String Resource::getText(const Common::String fileName) {
Common::File *dataFile = openDataFile(fileName);
- _vm->updateEvents();
-
uint32 count = dataFile->size();
byte *buffer = new byte[count];
byte *text = buffer;
@@ -143,7 +139,6 @@ void Resource::readViews(uint16 roomNum) {
readView(dataFile, curRoom->_view[kDirectionWest]);
readRule(dataFile, curRoom->_rules);
- _vm->updateEvents();
delete dataFile;
}