aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 6b3cae795f..f555e2ecf1 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -1017,9 +1017,9 @@ void CharsetRendererClassic::printChar(int chr) {
if (is2byte) {
_dropShadow = true;
- charPtr = g_scumm->get2byteCharPtr(chr);
- width = g_scumm->_2byteWidth;
- height = g_scumm->_2byteHeight;
+ charPtr = _vm->get2byteCharPtr(chr);
+ width = _vm->_2byteWidth;
+ height = _vm->_2byteHeight;
offsX = offsY = 0;
} else {
uint32 charOffs = READ_LE_UINT32(_fontPtr + chr * 4 + 4);