diff options
author | Max Horn | 2004-08-14 19:39:16 +0000 |
---|---|---|
committer | Max Horn | 2004-08-14 19:39:16 +0000 |
commit | d5f20cacd7061b4cff302f5b4f50c61a14461425 (patch) | |
tree | 0a6c3148497e8b7d40b59b4d6993eb3ee26668e7 | |
parent | 40dcd61a4d3e390a63e8d692ad2481f9c3dcdc39 (diff) | |
download | scummvm-rg350-d5f20cacd7061b4cff302f5b4f50c61a14461425.tar.gz scummvm-rg350-d5f20cacd7061b4cff302f5b4f50c61a14461425.tar.bz2 scummvm-rg350-d5f20cacd7061b4cff302f5b4f50c61a14461425.zip |
Fix regression in The Dig (object desc shadows had wrong color)
svn-id: r14611
-rw-r--r-- | scumm/string.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 9675e23007..df2b245c5d 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -589,8 +589,13 @@ int ScummEngine::addStringToStack(byte *dst, int dstSize, int var) { void ScummEngine::initCharset(int charsetno) { int i; - if ((_version >= 7 && !isResourceLoaded(rtCharset, charsetno)) || !getResourceAddress(rtCharset, charsetno)) - loadCharset(charsetno); + if (_gameId == GID_FT) { + if (!isResourceLoaded(rtCharset, charsetno)) + loadCharset(charsetno); + } else { + if (!getResourceAddress(rtCharset, charsetno)) + loadCharset(charsetno); + } _string[0]._default.charset = charsetno; _string[1]._default.charset = charsetno; |