[Scummvm-cvs-logs] SF.net SVN: scummvm: [23765] scummvm/trunk/engines/scumm/string.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Aug 27 00:02:20 CEST 2006


Revision: 23765
Author:   fingolfin
Date:     2006-08-26 15:02:16 -0700 (Sat, 26 Aug 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23765&view=rev

Log Message:
-----------
WORKAROUND for bug #1514457: INDY3: Crash in castle Brunwald (german version).

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/string.cpp
Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp	2006-08-26 20:05:49 UTC (rev 23764)
+++ scummvm/trunk/engines/scumm/string.cpp	2006-08-26 22:02:16 UTC (rev 23765)
@@ -844,6 +844,16 @@
 				*dst++ = 0xE1;
 				continue;
 			}
+			
+			// WORKAROUND for bug #1514457: Yet another script bug in Indy3.
+			// Once more a german 'sz' was encoded incorrectly, but this time
+			// they simply encoded it as 0xFF instead of 0xE1. Happens twice
+			// in script 71.
+			if (_game.id == GID_INDY3 && chr == 0x20 && vm.slot[_currentScript].number == 71) {
+				num--;
+				*dst++ = 0xE1;
+				continue;
+			}
 
 			if (chr == 1 || chr == 2 || chr == 3 || chr == 8) {
 				// Simply copy these special codes


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