diff options
Diffstat (limited to 'engines/hopkins/font.cpp')
-rw-r--r-- | engines/hopkins/font.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp index 38c69f4d9a..7985597f22 100644 --- a/engines/hopkins/font.cpp +++ b/engines/hopkins/font.cpp @@ -34,7 +34,8 @@ namespace Hopkins { -FontManager::FontManager() { +FontManager::FontManager(HopkinsEngine *vm) { + _vm = vm; clearAll(); } @@ -43,10 +44,6 @@ FontManager::~FontManager() { _vm->_globals.freeMemory(_zoneText); } -void FontManager::setParent(HopkinsEngine *vm) { - _vm = vm; -} - void FontManager::loadZoneText() { switch (_vm->_globals._language) { case LANG_EN: |