aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-06-26 15:48:12 +0000
committerMax Horn2003-06-26 15:48:12 +0000
commitb23b9ee7b3729680218a66db5b322e5d9b64cd9b (patch)
tree88b86271fcf1f51a7913534f017d585312386864 /scumm
parent85270c8b36fbc26a63447df4ec218b6c970055b5 (diff)
downloadscummvm-rg350-b23b9ee7b3729680218a66db5b322e5d9b64cd9b.tar.gz
scummvm-rg350-b23b9ee7b3729680218a66db5b322e5d9b64cd9b.tar.bz2
scummvm-rg350-b23b9ee7b3729680218a66db5b322e5d9b64cd9b.zip
hm... this code for initCharset makes more sense, and also seems to match disassembly
svn-id: r8658
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 13810ee709..1f0ac6e8a7 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -676,7 +676,7 @@ void Scumm::initCharset(int charsetno) {
_string[1].t_charset = charsetno;
for (i = 0; i < 16; i++)
- _charsetColorMap[i] = _charsetData[_charset->getCurID()][i];
+ _charsetColorMap[i] = _charsetData[charsetno][i];
}
void Scumm::enqueueText(const byte *text, int x, int y, byte color, byte charset, bool center) {