diff options
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/font.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/font.cpp b/engines/mads/font.cpp index 6f2d2b8168..6af1346f01 100644 --- a/engines/mads/font.cpp +++ b/engines/mads/font.cpp @@ -63,10 +63,16 @@ Font *Font::getFont(const Common::String &fontName) { } Font::Font() { + _charWidths = nullptr; + _charOffs = nullptr; + _charData = nullptr; setFont(FONT_INTERFACE); } Font::Font(const Common::String &filename) { + _charWidths = nullptr; + _charOffs = nullptr; + _charData = nullptr; setFont(filename); } |