aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui_view.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp
index 71263b485f..cfa3efa848 100644
--- a/engines/sci/gui/gui_view.cpp
+++ b/engines/sci/gui/gui_view.cpp
@@ -146,11 +146,11 @@ void SciGuiView::initData(GuiResourceId resourceId) {
_loop = new sciViewLoopInfo[_loopCount];
for (loopNo = 0; loopNo < _loopCount; loopNo++) {
loopData = _resourceData + headerSize + (loopNo * loopSize);
-
+
seekEntry = loopData[2];
if (seekEntry != 255) {
_loop[loopNo].mirrorFlag = true;
- loopData = _resourceData + headerSize + (seekEntry * loopNo);
+ loopData = _resourceData + headerSize + (seekEntry * loopSize);
} else {
_loop[loopNo].mirrorFlag = false;
}