aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2017-05-28 18:17:51 -0400
committerPaul Gilbert2017-05-28 18:17:51 -0400
commit30b5fc8c36b838f96cdf78369ce3c43daa631821 (patch)
treecfcc50dd37543c7063efd6546191c2d050dedf64 /engines/titanic
parent8ad4c59c1ca3d595ca99b850a9c3db7efdc09e91 (diff)
downloadscummvm-rg350-30b5fc8c36b838f96cdf78369ce3c43daa631821.tar.gz
scummvm-rg350-30b5fc8c36b838f96cdf78369ce3c43daa631821.tar.bz2
scummvm-rg350-30b5fc8c36b838f96cdf78369ce3c43daa631821.zip
TITANIC: Fix copying viewport _valArray data
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/star_control/viewport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/viewport.cpp b/engines/titanic/star_control/viewport.cpp
index bad28ba2f9..c3625b85c4 100644
--- a/engines/titanic/star_control/viewport.cpp
+++ b/engines/titanic/star_control/viewport.cpp
@@ -53,7 +53,7 @@ CViewport::CViewport(CViewport *src) :
_centerVector = src->_centerVector;
_field24 = src->_field24;
- Common::copy(&src->_valArray[0], &src->_valArray[4], &_valArray[0]);
+ Common::copy(&src->_valArray[0], &src->_valArray[5], &_valArray[0]);
_flag = false;
}