diff options
Diffstat (limited to 'engines/lab')
-rw-r--r-- | engines/lab/dispman.cpp | 1 | ||||
-rw-r--r-- | engines/lab/resource.cpp | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/engines/lab/dispman.cpp b/engines/lab/dispman.cpp index 674549a9c4..49ed17b069 100644 --- a/engines/lab/dispman.cpp +++ b/engines/lab/dispman.cpp @@ -87,7 +87,6 @@ void DisplayMan::loadBackPict(const Common::String fileName, uint16 *highPal) { void DisplayMan::readPict(const Common::String filename, bool playOnce, bool onlyDiffData, byte *memoryBuffer) { _vm->_anim->stopDiff(); loadPict(filename); - _vm->updateEvents(); _vm->_anim->setOutputBuffer(memoryBuffer); _vm->_anim->readDiff(_curBitmap, playOnce, onlyDiffData); } 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; } |