[Scummvm-cvs-logs] SF.net SVN: scummvm:[40651] scummvm/trunk/engines/kyra/script.h

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun May 17 16:22:05 CEST 2009


Revision: 40651
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40651&view=rev
Author:   athrxx
Date:     2009-05-17 14:22:05 +0000 (Sun, 17 May 2009)

Log Message:
-----------
KYRA1: fix script code (Japanese version of lephole.emc was broken by recent changes in the parser)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script.h

Modified: scummvm/trunk/engines/kyra/script.h
===================================================================
--- scummvm/trunk/engines/kyra/script.h	2009-05-17 13:53:47 UTC (rev 40650)
+++ scummvm/trunk/engines/kyra/script.h	2009-05-17 14:22:05 UTC (rev 40651)
@@ -85,7 +85,7 @@
 		// of file or producing a "Chunk overread" error message. To work around this
 		// we need to adjust the size field properly.
 		if (_typeId == MKID_BE('EMC2') || _typeId == MKID_BE('AVFS'))
-			_formChunk.size = input.size() - 8;
+			_formChunk.size -= 8;
 	}
 };
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list