I think this is the correct fix for bug #2081347 ("MM: Charset out of

bounds!"). If I understand correctly, version <= 2 games only have one (hard-
coded) font, so when that's initialised we can set _curId to 0.

svn-id: r34619
This commit is contained in:
Torbjörn Andersson 2008-09-20 16:21:27 +00:00
parent 383014f330
commit 4c7c82634d

View file

@ -1070,6 +1070,7 @@ CharsetRendererV2::CharsetRendererV2(ScummEngine *vm, Common::Language language)
: CharsetRendererV3(vm) {
_fontHeight = 8;
_curId = 0;
switch (language) {
case Common::DE_DEU: