aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-10 22:14:10 -0400
committerPaul Gilbert2017-04-10 22:14:10 -0400
commitaab8803ade6244d22625939505ca7b20482b6d34 (patch)
treeba031ca632d9f240c5389f7213f707da652caf21 /engines
parentc22f408d46e7e4da372aa2066d9732cfc18344d2 (diff)
downloadscummvm-rg350-aab8803ade6244d22625939505ca7b20482b6d34.tar.gz
scummvm-rg350-aab8803ade6244d22625939505ca7b20482b6d34.tar.bz2
scummvm-rg350-aab8803ade6244d22625939505ca7b20482b6d34.zip
TITANIC: If statement fix in CStarCloseUp draw
Diffstat (limited to 'engines')
-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() {}
};
/**