[Scummvm-cvs-logs] SF.net SVN: scummvm: [29960] scummvm/trunk/engines/lure/strings.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sun Dec 23 13:27:44 CET 2007
Revision: 29960
http://scummvm.svn.sourceforge.net/scummvm/?rev=29960&view=rev
Author: dreammaster
Date: 2007-12-23 04:27:43 -0800 (Sun, 23 Dec 2007)
Log Message:
-----------
Workaround for unterminated look description in Italian version
Modified Paths:
--------------
scummvm/trunk/engines/lure/strings.cpp
Modified: scummvm/trunk/engines/lure/strings.cpp
===================================================================
--- scummvm/trunk/engines/lure/strings.cpp 2007-12-23 11:54:06 UTC (rev 29959)
+++ scummvm/trunk/engines/lure/strings.cpp 2007-12-23 12:27:43 UTC (rev 29960)
@@ -232,7 +232,15 @@
charOffset = _srcPos - _stringTable;
charBitMask = _bitMask;
- ch = readCharacter();
+
+ // WORKAROUND: Italian version had an unterminated Look description for Prisoner after cutting sack
+ if ((charOffset == 0x1a08) && (charBitMask == 1) &&
+ (LureEngine::getReference().getLanguage() == IT_ITA))
+ // Hardcode for end of string
+ ch = '\0';
+ else
+ // All other character reads
+ ch = readCharacter();
}
debugC(ERROR_DETAILED, kLureDebugStrings, "String data %xh/%.2xh val=%.2xh EOS",
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