Fix loadCharset failures for computer terminals in FT.

Later games use slightly different code.

svn-id: r14605
This commit is contained in:
Travis Howell 2004-08-14 11:31:36 +00:00
parent acc51d2e29
commit 8bc615a394

View File

@ -589,7 +589,7 @@ int ScummEngine::addStringToStack(byte *dst, int dstSize, int var) {
void ScummEngine::initCharset(int charsetno) {
int i;
if (!getResourceAddress(rtCharset, charsetno))
if ((!getResourceAddress(rtCharset, charsetno)) || (_version >= 7 && !isResourceLoaded(rtCharset, charsetno)))
loadCharset(charsetno);
_string[0]._default.charset = charsetno;