aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-26 04:03:11 +0000
committerTravis Howell2004-07-26 04:03:11 +0000
commit3a8f518b02e01580d292a6a65a71e1a0f7baa94a (patch)
tree91ffdf7d449f8b6a28827c8d8f47f6460a4a5f02 /scumm/resource.cpp
parent54b813c4a61d2226b044a3261d3f11d8dce2f4ea (diff)
downloadscummvm-rg350-3a8f518b02e01580d292a6a65a71e1a0f7baa94a.tar.gz
scummvm-rg350-3a8f518b02e01580d292a6a65a71e1a0f7baa94a.tar.bz2
scummvm-rg350-3a8f518b02e01580d292a6a65a71e1a0f7baa94a.zip
VAR_ROOM_FLAG should always be set after load of saved game.
Other VAR_ROOM_FLAG setting in scumm5 specific. svn-id: r14332
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 697bf30308..e5e7ed9c22 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -625,7 +625,7 @@ void ScummEngine::ensureResourceLoaded(int type, int i) {
loadResource(type, i);
- if (VAR_ROOM_FLAG != 0xFF)
+ if (_version == 5)
if (type == rtRoom && i == _roomResource)
VAR(VAR_ROOM_FLAG) = 1;
}