aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-08-14 19:39:16 +0000
committerMax Horn2004-08-14 19:39:16 +0000
commitd5f20cacd7061b4cff302f5b4f50c61a14461425 (patch)
tree0a6c3148497e8b7d40b59b4d6993eb3ee26668e7
parent40dcd61a4d3e390a63e8d692ad2481f9c3dcdc39 (diff)
downloadscummvm-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.cpp9
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;