diff options
author | Max Horn | 2002-12-22 21:58:16 +0000 |
---|---|---|
committer | Max Horn | 2002-12-22 21:58:16 +0000 |
commit | df3c41fa24f98423ccb9fc23f2fc50f81c782a31 (patch) | |
tree | d9fa81b485d8376b8b1478f0bcfc1906b60e304d /scumm/saveload.cpp | |
parent | 3ce3a5be5bbfd6f438584e5c09e08d26eadb9396 (diff) | |
download | scummvm-rg350-df3c41fa24f98423ccb9fc23f2fc50f81c782a31.tar.gz scummvm-rg350-df3c41fa24f98423ccb9fc23f2fc50f81c782a31.tar.bz2 scummvm-rg350-df3c41fa24f98423ccb9fc23f2fc50f81c782a31.zip |
added some preliminary V8 work. Nope, it is not useful at all, and it doesn't mean we will have CMI support in this millenium, so don't hold your breath
svn-id: r6060
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r-- | scumm/saveload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp index 78be8b140b..817a833c2c 100644 --- a/scumm/saveload.cpp +++ b/scumm/saveload.cpp @@ -111,7 +111,8 @@ bool Scumm::loadState(int slot, bool compat, SaveFileManager *mgr) _sound->stopCD(); _sound->pauseSounds(true); - CHECK_HEAP openRoom(-1); + CHECK_HEAP + closeRoom(); memset(_inventory, 0, sizeof(_inventory[0]) * _numInventory); /* Nuke all resources */ |