diff options
author | Willem Jan Palenstijn | 2011-12-14 12:02:59 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-14 12:18:11 +0100 |
commit | a489430bc33268d1120442bfd2e4c455cd358ec0 (patch) | |
tree | 775edcdcc495fe7cbac7fb77fa3020a7dc94b71d | |
parent | 5af0deba87afaac279db04da52241b6ad1c6d723 (diff) | |
download | scummvm-rg350-a489430bc33268d1120442bfd2e4c455cd358ec0.tar.gz scummvm-rg350-a489430bc33268d1120442bfd2e4c455cd358ec0.tar.bz2 scummvm-rg350-a489430bc33268d1120442bfd2e4c455cd358ec0.zip |
DREAMWEB: Fix regression in showDiaryPage and lookAtCard
-rw-r--r-- | engines/dreamweb/stubs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index d931789746..0c22ffc2f5 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -4591,6 +4591,7 @@ void DreamGenContext::showDiaryPage() { const uint8 *string = getSegment(data.word(kTextfile1)).ptr(offset, 0); uint16 y = kDiaryy + 16; printDirect(&string, kDiaryx + 48, &y, 240, 240 & 1); + y = kDiaryy + 16; printDirect(&string, kDiaryx + 129, &y, 240, 240 & 1); y = kDiaryy + 23; printDirect(&string, kDiaryx + 48, &y, 240, 240 & 1); @@ -4659,7 +4660,8 @@ void DreamGenContext::lookAtCard() { findNextColon(&obText); findNextColon(&obText); findNextColon(&obText); - printDirect(obText, 36, 124, 241, 241 & 1); + uint16 y = 124; + printDirect(&obText, 36, &y, 241, 241 & 1); push(es); push(si); workToScreenM(); |