aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 84a406fb90..a10ea9ef0a 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -757,6 +757,10 @@ void ScummEngine::initCharset(int charsetno) {
for (i = 0; i < 16; i++)
_charsetColorMap[i] = _charsetData[charsetno][i];
+
+ if (_heversion >= 80) {
+ VAR(VAR_CURRENT_CHARSET) = charsetno;
+ }
}
void ScummEngine_v6::enqueueText(const byte *text, int x, int y, byte color, byte charset, bool center) {