Made Game::changeRoom() clear the overlaysArchive cache when it's done loading overlays.

svn-id: r42072
This commit is contained in:
Denis Kasak 2009-07-03 18:17:05 +00:00
parent 1853d594b8
commit c651d1c2e2

View File

@ -242,6 +242,8 @@ void Game::changeRoom(uint16 roomNum) {
_vm->_anims->addOverlay(sp, z);
}
_vm->_overlaysArchive->clearCache();
_vm->_screen->getSurface()->markDirty();
}