Skip to content

Commit

Permalink
DREAMWEB: Fix regression in showDiaryPage and lookAtCard
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed Dec 14, 2011
1 parent 5af0deb commit a489430
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion engines/dreamweb/stubs.cpp
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit a489430

Please sign in to comment.