From 3a8f518b02e01580d292a6a65a71e1a0f7baa94a Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 26 Jul 2004 04:03:11 +0000 Subject: VAR_ROOM_FLAG should always be set after load of saved game. Other VAR_ROOM_FLAG setting in scumm5 specific. svn-id: r14332 --- scumm/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/resource.cpp') 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; } -- cgit v1.2.3