aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-05 17:57:06 +0000
committerMartin Kiewitz2009-10-05 17:57:06 +0000
commitac9faddd1749514d188857cd2df332deb029da8e (patch)
tree33ed0a023ffe45bc663a96562dc9a7464fe6c56e
parentac5d71b57e4fd835fab6bcdcf3198d7463e47546 (diff)
downloadscummvm-rg350-ac9faddd1749514d188857cd2df332deb029da8e.tar.gz
scummvm-rg350-ac9faddd1749514d188857cd2df332deb029da8e.tar.bz2
scummvm-rg350-ac9faddd1749514d188857cd2df332deb029da8e.zip
SVN/newgui: views on sci1.1 - mirroring now possible
svn-id: r44667
-rw-r--r--engines/sci/gui/gui_view.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp
index 95947458a4..f0229e509f 100644
--- a/engines/sci/gui/gui_view.cpp
+++ b/engines/sci/gui/gui_view.cpp
@@ -150,12 +150,14 @@ void SciGuiView::initData(GuiResourceId resourceId) {
seekEntry = loopData[2];
if (seekEntry != 255) {
+ _loop[loopNo].mirrorFlag = true;
loopData = _resourceData + headerSize + (seekEntry * loopNo);
+ } else {
+ _loop[loopNo].mirrorFlag = false;
}
celCount = loopData[4];
_loop[loopNo].celCount = celCount;
- _loop[loopNo].mirrorFlag = false;
celData = _resourceData + READ_LE_UINT16(loopData + 14);