Skip to content

Commit

Permalink
DIRECTOR: Clear font mapping before loading new map
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Jan 27, 2017
1 parent d8c8b78 commit 280bcb9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/director/score.cpp
Expand Up @@ -222,6 +222,8 @@ void Score::loadArchive() {
}

if (_movieArchive->hasResource(MKTAG('V', 'W', 'F', 'M'), 1024)) {
_vm->_wm->_fontMan->clearFontMapping();

loadFontMap(*_movieArchive->getResource(MKTAG('V', 'W', 'F', 'M'), 1024));
}

Expand Down

0 comments on commit 280bcb9

Please sign in to comment.