[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.122,1.123
Jonathan Gray
khalek at users.sourceforge.net
Sun Aug 10 19:32:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv27361
Modified Files:
script.cpp
Log Message:
this fixme doesn't apply to old bundle games using GID_INDY3 target
Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- script.cpp 6 Aug 2003 12:04:27 -0000 1.122
+++ script.cpp 11 Aug 2003 02:31:03 -0000 1.123
@@ -762,7 +762,7 @@
// FIXME: the exit script of room 7 in indy3 only seems to have a size
// and tag not actual data not even a 00 (stop code). Maybe we should
// be limiting ourselves to strictly reading the size from the header?
- if (_gameId == GID_INDY3) {
+ if (_gameId == GID_INDY3 && !(_features & GF_OLD_BUNDLE)) {
byte *roomptr = getResourceAddress(rtRoom, _roomResource);
const byte *excd = findResourceData(MKID('EXCD'), roomptr) - _resourceHeaderSize;
if (!excd || (getResourceDataSize(excd) < 1)) {
More information about the Scummvm-git-logs
mailing list