aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-05-14 09:58:30 +0000
committerTorbjörn Andersson2006-05-14 09:58:30 +0000
commitbb9de08c7354025bc2b074a6e13ddbe5cc0d5e7f (patch)
treeb7ae187734bc315225b546456999afa917f5f59d
parent44ac23a81de68d2d727bf9640c1363f4e2d0ee73 (diff)
downloadscummvm-rg350-bb9de08c7354025bc2b074a6e13ddbe5cc0d5e7f.tar.gz
scummvm-rg350-bb9de08c7354025bc2b074a6e13ddbe5cc0d5e7f.tar.bz2
scummvm-rg350-bb9de08c7354025bc2b074a6e13ddbe5cc0d5e7f.zip
Specify the right edge of the sentence line in Maniac/Zak. This fixes bug
#1488189, where the sentence line would only display the first character. svn-id: r22467
-rw-r--r--engines/scumm/script_v2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/scumm/script_v2.cpp b/engines/scumm/script_v2.cpp
index f1683fce26..184f491079 100644
--- a/engines/scumm/script_v2.cpp
+++ b/engines/scumm/script_v2.cpp
@@ -1055,6 +1055,7 @@ void ScummEngine_v2::o2_drawSentence() {
_string[2].charset = 1;
_string[2].ypos = virtscr[kVerbVirtScreen].topline;
_string[2].xpos = 0;
+ _string[2].right = virtscr[kVerbVirtScreen].w - 1;
if (_game.platform == Common::kPlatformNES) {
_string[2].xpos = 16;
_string[2].color = 0;