aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-09 12:23:19 +0000
committerFilippos Karapetis2008-05-09 12:23:19 +0000
commit601f0efdd48139657096b5262c482c1bfc4bd470 (patch)
tree58d24554cd93ff37233731a3d11de916abd5b5f9
parentb222d0c5390b052fadeb6eec67e425e354a8401c (diff)
downloadscummvm-rg350-601f0efdd48139657096b5262c482c1bfc4bd470.tar.gz
scummvm-rg350-601f0efdd48139657096b5262c482c1bfc4bd470.tar.bz2
scummvm-rg350-601f0efdd48139657096b5262c482c1bfc4bd470.zip
Removed now obsolete FIXME
svn-id: r31964
-rw-r--r--engines/made/screen.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/made/screen.cpp b/engines/made/screen.cpp
index f2888cada7..c88244a8a2 100644
--- a/engines/made/screen.cpp
+++ b/engines/made/screen.cpp
@@ -599,10 +599,8 @@ void Screen::flash(int flashCount) {
void Screen::setFont(int16 fontNum) {
if (fontNum == _currentFontNum)
return;
- // FIXME: this causes crashes when
- // ProjectReader::purgeCache() is called
- //if (_font)
- // _vm->_res->freeResource(_font);
+ if (_font)
+ _vm->_res->freeResource(_font);
_font = _vm->_res->getFont(fontNum);
_currentFontNum = fontNum;
}