[Scummvm-cvs-logs] scummvm master -> 84702e7d5c646ba757bf6fbfc59986570c43540b
dreammaster
dreammaster at scummvm.org
Sat Mar 14 03:54:00 CET 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
84702e7d5c MADS: Fix text display when opening the Slippery Pig fridge
Commit: 84702e7d5c646ba757bf6fbfc59986570c43540b
https://github.com/scummvm/scummvm/commit/84702e7d5c646ba757bf6fbfc59986570c43540b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2015-03-13T22:52:58-04:00
Commit Message:
MADS: Fix text display when opening the Slippery Pig fridge
Changed paths:
engines/mads/nebular/nebular_scenes1.cpp
diff --git a/engines/mads/nebular/nebular_scenes1.cpp b/engines/mads/nebular/nebular_scenes1.cpp
index dc2eb1f..0c5888b 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);
More information about the Scummvm-git-logs
mailing list