aboutsummaryrefslogtreecommitdiff
path: root/boxes.cpp
diff options
context:
space:
mode:
authorVincent Hamm2002-02-14 22:51:01 +0000
committerVincent Hamm2002-02-14 22:51:01 +0000
commit3bf6462a2485035321d66e2e595054490a789111 (patch)
tree3ec2e4102d3b8551665027c743cec7dc0a8f9922 /boxes.cpp
parent0ad2121e7422ead4475c98bcac4cc9ee6f061ed4 (diff)
downloadscummvm-rg350-3bf6462a2485035321d66e2e595054490a789111.tar.gz
scummvm-rg350-3bf6462a2485035321d66e2e595054490a789111.tar.bz2
scummvm-rg350-3bf6462a2485035321d66e2e595054490a789111.zip
Indy3 256 now boot. Disabled costumes for zak256 and indy3_256 since they can crash sdl
svn-id: r3585
Diffstat (limited to 'boxes.cpp')
-rw-r--r--boxes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boxes.cpp b/boxes.cpp
index 6466e00161..873dd78071 100644
--- a/boxes.cpp
+++ b/boxes.cpp
@@ -46,7 +46,7 @@ Box *Scumm::getBoxBaseAddr(int box) {
byte *ptr = getResourceAddress(rtMatrix, 2);
checkRange(ptr[0]-1, 0, box, "Illegal box %d");
if(_features & GF_SMALL_HEADER) {
- if (_gameId == GID_ZAK256)
+ if (_features & GF_OLD256)
return (Box*)(ptr + box*(SIZEOF_BOX-2) + 1);
else
return (Box*)(ptr + box*SIZEOF_BOX + 1);