aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFlorian Kagerer2009-10-23 19:20:59 +0000
committerFlorian Kagerer2009-10-23 19:20:59 +0000
commit6248d3a21d99b1e0ab7a7cc81a8c28616d4475b9 (patch)
tree28bab4c3fa98b024583cdb96e27a0f566ce2798b /engines
parentbed7206ee34d1c938227112393c8ef516c0c2fdf (diff)
downloadscummvm-rg350-6248d3a21d99b1e0ab7a7cc81a8c28616d4475b9.tar.gz
scummvm-rg350-6248d3a21d99b1e0ab7a7cc81a8c28616d4475b9.tar.bz2
scummvm-rg350-6248d3a21d99b1e0ab7a7cc81a8c28616d4475b9.zip
LOL: fixed minor regression
svn-id: r45349
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/gui_lol.cpp2
-rw-r--r--engines/kyra/text_lol.cpp3
2 files changed, 4 insertions, 1 deletions
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;