aboutsummaryrefslogtreecommitdiff
path: root/engines/simon/oracle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/simon/oracle.cpp')
-rw-r--r--engines/simon/oracle.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}