From 6248d3a21d99b1e0ab7a7cc81a8c28616d4475b9 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Fri, 23 Oct 2009 19:20:59 +0000 Subject: LOL: fixed minor regression svn-id: r45349 --- engines/kyra/gui_lol.cpp | 2 +- engines/kyra/text_lol.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/kyra') diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp index 04c597a534..c9036e9ff0 100644 --- a/engines/kyra/gui_lol.cpp +++ b/engines/kyra/gui_lol.cpp @@ -1049,7 +1049,7 @@ int LoLEngine::clickedRightArrow(Button *button) { if (button->arg && !_floatingCursorsEnabled) return 0; - moveParty((_currentDirection + 1) & 3, ((button->flags2 & 0x1080) == 0x1080) ? 1 : 0, 3, _flags.isTalkie ? 82 : 82); + moveParty((_currentDirection + 1) & 3, ((button->flags2 & 0x1080) == 0x1080) ? 1 : 0, 3, _flags.isTalkie ? 84 : 82); return 1; } diff --git a/engines/kyra/text_lol.cpp b/engines/kyra/text_lol.cpp index 7311ead249..2deb2d6fdf 100644 --- a/engines/kyra/text_lol.cpp +++ b/engines/kyra/text_lol.cpp @@ -573,11 +573,13 @@ void TextDisplayer_LoL::printLine(char *str) { if ((lw + _textDimData[sdx].column) > w) { if ((lines - 1) <= _lineCount) + // cut off line to leave space for "MORE" button w -= 80; } else { if (!_sjisLineBreakFlag || (_lineCount + 1 < lines - 1)) ct = false; else + // cut off line to leave space for "MORE" button w -= 80; } @@ -599,6 +601,7 @@ void TextDisplayer_LoL::printLine(char *str) { } else { if ((lw + _textDimData[sdx].column) > w) { if ((lines - 1) <= _lineCount) + // cut off line to leave space for "MORE" button w -= (10 * (_screen->getFontWidth() + _screen->_charWidth)); w -= _textDimData[sdx].column; -- cgit v1.2.3