diff options
author | Paul Gilbert | 2017-04-10 22:14:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-10 22:14:10 -0400 |
commit | aab8803ade6244d22625939505ca7b20482b6d34 (patch) | |
tree | ba031ca632d9f240c5389f7213f707da652caf21 /engines | |
parent | c22f408d46e7e4da372aa2066d9732cfc18344d2 (diff) | |
download | scummvm-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.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/star_control/star_closeup.h | 3 |
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() {} }; /** |