aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-13 22:52:58 -0400
committerPaul Gilbert2015-03-13 22:52:58 -0400
commit84702e7d5c646ba757bf6fbfc59986570c43540b (patch)
treee456401865e93175316d6c2b3c6c3aa9610e19b2 /engines
parent5c834815436014efd1f2b88455d8e44cf28ebc85 (diff)
downloadscummvm-rg350-84702e7d5c646ba757bf6fbfc59986570c43540b.tar.gz
scummvm-rg350-84702e7d5c646ba757bf6fbfc59986570c43540b.tar.bz2
scummvm-rg350-84702e7d5c646ba757bf6fbfc59986570c43540b.zip
MADS: Fix text display when opening the Slippery Pig fridge
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index dc2eb1f068..0c5888b6ec 100644
--- a/engines/mads/nebular/nebular_scenes1.cpp
+++ b/engines/mads/nebular/nebular_scenes1.cpp
@@ -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);