diff options
| author | Einar Johan Trøan Sømåen | 2012-06-21 18:49:10 +0200 | 
|---|---|---|
| committer | Einar Johan Trøan Sømåen | 2012-06-21 18:49:10 +0200 | 
| commit | 8c463aa58c6b61c4336a0ff45a02578fad804c05 (patch) | |
| tree | c0c7f266cc6e4d3402d60ea36842e26708c650d8 /engines | |
| parent | e3a7921dff85fe70c11b9428afa21b12d9894486 (diff) | |
| download | scummvm-rg350-8c463aa58c6b61c4336a0ff45a02578fad804c05.tar.gz scummvm-rg350-8c463aa58c6b61c4336a0ff45a02578fad804c05.tar.bz2 scummvm-rg350-8c463aa58c6b61c4336a0ff45a02578fad804c05.zip  | |
WINTERMUTE: Fix loading of fonts from savegames.
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/wintermute/Base/BFontTT.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/wintermute/Base/BFontTT.cpp b/engines/wintermute/Base/BFontTT.cpp index dff2c252e4..91ef15cebf 100644 --- a/engines/wintermute/Base/BFontTT.cpp +++ b/engines/wintermute/Base/BFontTT.cpp @@ -626,6 +626,7 @@ HRESULT CBFontTT::Persist(CBPersistMgr *PersistMgr) {  	if (!PersistMgr->_saving) {
  		for (int i = 0; i < NUM_CACHED_TEXTS; i++) _cachedTexts[i] = NULL;
  		_glyphCache = NULL;
 +		_fallbackFont = _font = _deletableFont = NULL;
  	}
  	return S_OK;
  | 
