aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/star_control/camera_auto_mover.cpp2
-rw-r--r--engines/titanic/star_control/camera_mover.cpp2
-rw-r--r--engines/titanic/star_control/star_camera.cpp3
3 files changed, 3 insertions, 4 deletions
diff --git a/engines/titanic/star_control/camera_auto_mover.cpp b/engines/titanic/star_control/camera_auto_mover.cpp
index 9fe5e15e7e..fcd1e9e0ee 100644
--- a/engines/titanic/star_control/camera_auto_mover.cpp
+++ b/engines/titanic/star_control/camera_auto_mover.cpp
@@ -116,4 +116,4 @@ void CCameraAutoMover::calcSpeeds(int val1, int val2, float distance) {
}
}
-} // End of namespace Titanic \ No newline at end of file
+} // End of namespace Titanic
diff --git a/engines/titanic/star_control/camera_mover.cpp b/engines/titanic/star_control/camera_mover.cpp
index 09e7ed72ba..4340eb8839 100644
--- a/engines/titanic/star_control/camera_mover.cpp
+++ b/engines/titanic/star_control/camera_mover.cpp
@@ -149,4 +149,4 @@ void CCameraMover::decLockCount() {
--_lockCounter;
}
-} // End of namespace Titanic \ No newline at end of file
+} // End of namespace Titanic
diff --git a/engines/titanic/star_control/star_camera.cpp b/engines/titanic/star_control/star_camera.cpp
index d1e233906b..d3bc3d988f 100644
--- a/engines/titanic/star_control/star_camera.cpp
+++ b/engines/titanic/star_control/star_camera.cpp
@@ -223,8 +223,7 @@ FVector CStarCamera::getRelativePos(int index, const FVector &src) {
double val;
if (index == 2) {
val = _viewport._isZero;
- }
- else {
+ } else {
val = _viewport._valArray[index];
}