aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/resource.cpp
diff options
context:
space:
mode:
authorMax Horn2006-03-04 10:41:40 +0000
committerMax Horn2006-03-04 10:41:40 +0000
commit5e881c158a10a4d272f2af3f0927df0db6da25ad (patch)
tree500fda1d2d870b3e8dcb478080e07a23f7b57284 /engines/scumm/resource.cpp
parentbb38ea2c17bc9f0de8f674db6a11f0c7af2c5ac7 (diff)
downloadscummvm-rg350-5e881c158a10a4d272f2af3f0927df0db6da25ad.tar.gz
scummvm-rg350-5e881c158a10a4d272f2af3f0927df0db6da25ad.tar.bz2
scummvm-rg350-5e881c158a10a4d272f2af3f0927df0db6da25ad.zip
This particular case in ScummEngine::openRoom only occurs for V4 games; changing the check accordingly, to ease future refactoring
svn-id: r21063
Diffstat (limited to 'engines/scumm/resource.cpp')
-rw-r--r--engines/scumm/resource.cpp2
1 files changed, 1 insertions, 1 deletions
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;