mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 20:55:19 +00:00
Made Game::changeRoom() clear the overlaysArchive cache when it's done loading overlays.
svn-id: r42072
This commit is contained in:
parent
1853d594b8
commit
c651d1c2e2
@ -242,6 +242,8 @@ void Game::changeRoom(uint16 roomNum) {
|
||||
|
||||
_vm->_anims->addOverlay(sp, z);
|
||||
}
|
||||
|
||||
_vm->_overlaysArchive->clearCache();
|
||||
|
||||
_vm->_screen->getSurface()->markDirty();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user