diff options
author | Eugene Sandulenko | 2017-03-27 08:06:29 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-27 08:06:29 +0200 |
commit | 1298762b7665dc1b7aeedf0271eadfb284309ef1 (patch) | |
tree | be905c5f85843ee34a8a5c850bdf89412142efa0 /engines | |
parent | baf7c83e7d8b0ae21fba69d2135e1666e587e77b (diff) | |
download | scummvm-rg350-1298762b7665dc1b7aeedf0271eadfb284309ef1.tar.gz scummvm-rg350-1298762b7665dc1b7aeedf0271eadfb284309ef1.tar.bz2 scummvm-rg350-1298762b7665dc1b7aeedf0271eadfb284309ef1.zip |
TITANIC: Fix copy/paste error
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_points1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/star_control/star_points1.cpp b/engines/titanic/star_control/star_points1.cpp index 17f833a7cd..0467461222 100644 --- a/engines/titanic/star_control/star_points1.cpp +++ b/engines/titanic/star_control/star_points1.cpp @@ -76,7 +76,7 @@ void CStarPoints1::draw(CSurfaceArea *surface, CStarControlSub12 *sub12) { vector1._z = vTemp._x * sub6._row1._z + vTemp._y * sub6._row2._z + vTemp._z * sub6._row3._z + sub6._vector._z; vector1._x = vTemp._x * sub6._row1._x + vTemp._y * sub6._row2._x + vTemp._z * sub6._row3._x + sub6._vector._x; - vector1._x = vTemp._x * sub6._row1._y + vTemp._y * sub6._row2._y + vTemp._z * sub6._row3._y + sub6._vector._y; + vector1._y = vTemp._x * sub6._row1._y + vTemp._y * sub6._row2._y + vTemp._z * sub6._row3._y + sub6._vector._y; for (uint idx = 1; idx < _data.size(); ++idx) { const FVector &sv = _data[idx]; @@ -84,7 +84,7 @@ void CStarPoints1::draw(CSurfaceArea *surface, CStarControlSub12 *sub12) { vTemp = sv; vector3._x = vTemp._x * sub6._row1._x + vTemp._y * sub6._row2._x + vTemp._z * sub6._row3._x * sub6._vector._x; - vector3._y = vTemp._x * sub6._row1._y + vTemp._y * sub6._row2._y + vTemp._z * sub6._row3._y * sub6._vector._y; + vector3._y = vTemp._x * sub6._row1._y + vTemp._y * sub6._row2._y + vTemp._z * sub6._row3._y * sub6._vector._y; vector3._z = vTemp._x * sub6._row1._z + vTemp._y * sub6._row2._z + vTemp._z * sub6._row3._z + sub6._vector._z; if (flag && vector1._z > threshold && vector3._z > threshold) { |