diff options
author | Travis Howell | 2005-05-23 03:44:10 +0000 |
---|---|---|
committer | Travis Howell | 2005-05-23 03:44:10 +0000 |
commit | 84f0ccf241dbec923326220c98b9f37896487055 (patch) | |
tree | 57096d5ea8b4893e857488e04705237da386fc04 /scumm | |
parent | 0951b90f7bc11e6039525091e5fd6a385283ffb3 (diff) | |
download | scummvm-rg350-84f0ccf241dbec923326220c98b9f37896487055.tar.gz scummvm-rg350-84f0ccf241dbec923326220c98b9f37896487055.tar.bz2 scummvm-rg350-84f0ccf241dbec923326220c98b9f37896487055.zip |
Don't expire roomImage of current room.
svn-id: r18228
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index f38483dbd2..e8c22d6124 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -889,6 +889,8 @@ bool ScummEngine::isResourceInUse(int type, int i) const { switch (type) { case rtRoom: return _roomResource == (byte)i; + case rtRoomImage: + return _roomResource == (byte)i; case rtRoomScripts: return _roomResource == (byte)i; case rtScript: |