aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-04-06 21:56:28 -0400
committerPaul Gilbert2017-04-06 21:56:28 -0400
commitb4a6ec62c2c5cc37c6e4a4ddae096411ace58875 (patch)
tree769d1dc1942fdfc58c5d802f3654e1310dc290de
parent6fea2e27abf3b4a030c3e2ada77f0bc4add0869c (diff)
downloadscummvm-rg350-b4a6ec62c2c5cc37c6e4a4ddae096411ace58875.tar.gz
scummvm-rg350-b4a6ec62c2c5cc37c6e4a4ddae096411ace58875.tar.bz2
scummvm-rg350-b4a6ec62c2c5cc37c6e4a4ddae096411ace58875.zip
TITANIC: Add missing initializer for CStarRef1
-rw-r--r--engines/titanic/star_control/star_ref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/star_control/star_ref.h b/engines/titanic/star_control/star_ref.h
index c6fec90fbc..3cd016e804 100644
--- a/engines/titanic/star_control/star_ref.h
+++ b/engines/titanic/star_control/star_ref.h
@@ -50,7 +50,7 @@ public:
int _index;
public:
CStarRef1(CBaseStar *star, const Common::Point &pt) :
- CBaseStarRef(star), _index(-1) {}
+ CBaseStarRef(star), _position(pt), _index(-1) {}
virtual ~CStarRef1() {}
virtual bool check(const Common::Point &pt, int index);