diff options
Diffstat (limited to 'engines/made/screen.cpp')
-rw-r--r-- | engines/made/screen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp index c88244a8a2..f2888cada7 100644 --- a/engines/made/screen.cpp +++ b/engines/made/screen.cpp @@ -599,8 +599,10 @@ void Screen::flash(int flashCount) { void Screen::setFont(int16 fontNum) { if (fontNum == _currentFontNum) return; - if (_font) - _vm->_res->freeResource(_font); + // FIXME: this causes crashes when + // ProjectReader::purgeCache() is called + //if (_font) + // _vm->_res->freeResource(_font); _font = _vm->_res->getFont(fontNum); _currentFontNum = fontNum; } |