From 5e881c158a10a4d272f2af3f0927df0db6da25ad Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Mar 2006 10:41:40 +0000 Subject: This particular case in ScummEngine::openRoom only occurs for V4 games; changing the check accordingly, to ease future refactoring svn-id: r21063 --- engines/scumm/resource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/scumm/resource.cpp b/engines/scumm/resource.cpp index 7ece02dd2d..7830d469b5 100644 --- a/engines/scumm/resource.cpp +++ b/engines/scumm/resource.cpp @@ -101,7 +101,7 @@ void ScummEngine::openRoom(const int room) { if (_game.id == GID_MANIAC) sprintf(buf2, "%.2d.man", room); encByte = (_game.features & GF_USE_KEY) ? 0xFF : 0; - } else if (_game.features & GF_SMALL_HEADER) { + } else if (_game.version == 4) { if (room == 0 || room >= 900) { sprintf(buf, "%.3d.lfl", room); encByte = 0; -- cgit v1.2.3