mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
Missed one check
svn-id: r11338
This commit is contained in:
parent
50506eb7b6
commit
3147d75a4d
@ -1226,6 +1226,8 @@ CharsetRendererNut::CharsetRendererNut(ScummEngine *vm)
|
||||
|
||||
for (int i = 0; i < 5; i++) {
|
||||
char fontname[256];
|
||||
if ((_vm->_gameId == GID_CMI) && (_vm->_features & GF_DEMO) && (i == 4))
|
||||
break;
|
||||
sprintf(fontname, "font%d.nut", i);
|
||||
_fr[i] = new NutRenderer(_vm);
|
||||
if (!(_fr[i]->loadFont(fontname, _vm->getGameDataPath()))) {
|
||||
|
Loading…
Reference in New Issue
Block a user