restrict charwidth table patch to french version, should fix #2523924

svn-id: r36129
This commit is contained in:
Gregory Montoir 2009-01-29 21:31:44 +00:00
parent abc76c6ddc
commit 164a099c7f

View File

@ -321,7 +321,9 @@ void TuckerEngine::loadCharSizeDta() {
for (int i = 0; i < 256; ++i) {
_charWidthTable[i] = t.getNextInteger();
}
_charWidthTable[225] = 0;
if (_gameLang == Common::FR_FRA) {
_charWidthTable[225] = 0;
}
} else {
memcpy(_charWidthTable + 32, _charWidthCharset1, 224);
}