aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-31 20:04:28 -0400
committerPaul Gilbert2017-08-31 20:04:28 -0400
commit88782928ff97d1a86e96b4badf1628ef40da0d59 (patch)
tree55c0c82a2ecf55939df608c806c20b245f253a79 /engines
parentbdabf32bea451b94dcb239af5c574dd94d6789ac (diff)
downloadscummvm-rg350-88782928ff97d1a86e96b4badf1628ef40da0d59.tar.gz
scummvm-rg350-88782928ff97d1a86e96b4badf1628ef40da0d59.tar.bz2
scummvm-rg350-88782928ff97d1a86e96b4badf1628ef40da0d59.zip
TITANIC: Minor syntactic fixes for Star Control classes
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];
}