aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/star_control/star_closeup.cpp2
-rw-r--r--engines/titanic/star_control/star_closeup.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_closeup.cpp b/engines/titanic/star_control/star_closeup.cpp
index 6ed0b909c5..e990bc7b1a 100644
--- a/engines/titanic/star_control/star_closeup.cpp
+++ b/engines/titanic/star_control/star_closeup.cpp
@@ -205,7 +205,7 @@ void CStarCloseup::draw(const FPose &pose, const FVector &vector, const FVector
double f41, f42, f43, f44, f45, f46;
FVector tempV;
- if (vector2._z >= 6.0e9) {
+ if (vector2._z < 6.0e9) {
int count, start;
if (vector._x != 0.0 && (vector._y != 0.0 || vector._z != 0.0)) {
// WORKAROUND: Ignoring non-sensical randSeed((int)vector._x);
diff --git a/engines/titanic/star_control/star_closeup.h b/engines/titanic/star_control/star_closeup.h
index d07b17bd2f..4063ea9662 100644
--- a/engines/titanic/star_control/star_closeup.h
+++ b/engines/titanic/star_control/star_closeup.h
@@ -70,9 +70,8 @@ class CStarCloseup {
struct GridEntry : public FVector {
FPoint _position;
- int _field14;
- GridEntry() : FVector(), _field14(0) {}
+ GridEntry() : FVector() {}
};
/**