From 3bf6462a2485035321d66e2e595054490a789111 Mon Sep 17 00:00:00 2001 From: Vincent Hamm Date: Thu, 14 Feb 2002 22:51:01 +0000 Subject: Indy3 256 now boot. Disabled costumes for zak256 and indy3_256 since they can crash sdl svn-id: r3585 --- boxes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boxes.cpp') 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); -- cgit v1.2.3