MADS: Fix text display when opening the Slippery Pig fridge

This commit is contained in:
Paul Gilbert 2015-03-13 22:52:58 -04:00
parent 5c83481543
commit 84702e7d5c

View File

@ -906,7 +906,7 @@ void Scene102::actions() {
_fridgeFirstOpenFl = false;
int quoteId = _vm->getRandomNumber(59, 63);
Common::String curQuote = _game.getQuote(quoteId);
int width = _vm->_font->getWidth(curQuote, -1);
int width = _scene->_kernelMessages._talkFont->getWidth(curQuote, -1);
_scene->_kernelMessages.reset();
_game._triggerSetupMode = SEQUENCE_TRIGGER_DAEMON;
_scene->_kernelMessages.add(Common::Point(210, 60), 0x1110, 0, 73, 120, curQuote);