aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/intern.h3
-rw-r--r--engines/simon/oracle.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/simon/intern.h b/engines/simon/intern.h
index 9088da9c30..523a588135 100644
--- a/engines/simon/intern.h
+++ b/engines/simon/intern.h
@@ -90,8 +90,7 @@ struct FillOrCopyStruct {
uint16 x, y;
uint16 width, height;
uint16 textColumn, textRow;
- uint16 scrollY;
- uint8 textColumnOffset, textLength, textMaxLength;
+ uint16 textColumnOffset, textLength, textMaxLength;
uint8 fill_color, text_color, unk5;
FillOrCopyData *fcs_data;
FillOrCopyStruct() { memset(this, 0, sizeof(*this)); }
diff --git a/engines/simon/oracle.cpp b/engines/simon/oracle.cpp
index 319b1209f9..eadfee6ce8 100644
--- a/engines/simon/oracle.cpp
+++ b/engines/simon/oracle.cpp
@@ -37,7 +37,7 @@ void SimonEngine::hyperLinkOn(uint16 x)
_hyperLink = x;
_variableArray[50] = _textWindow->textColumn+_textWindow->x;
_variableArray[51] = _textWindow->textRow+_textWindow->y+
- (_oracleMaxScrollY - _textWindow->scrollY) * 15;
+ (_oracleMaxScrollY - _textWindow->textColumnOffset) * 15;
}