aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index 2fc4abeab3..0f2a7ae75d 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -864,9 +864,10 @@ static byte spanishCharsetDataV2[] = {
};
#endif
-void CharsetRendererV2::setCurID(byte id) {
+CharsetRendererV2::CharsetRendererV2(ScummEngine *vm, Common::Language language)
+ : CharsetRendererV3(vm) {
- switch (_vm->_language) {
+ switch (language) {
case Common::DE_DEU:
_fontPtr = germanCharsetDataV2;
break;