From 12bedb4a933df74edd820e6785ae7e88c43c0247 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 9 Mar 2017 00:25:54 -0500 Subject: TITANIC: Fix compiler warnings --- engines/titanic/star_control/star_control_sub5.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/titanic/star_control/star_control_sub5.h b/engines/titanic/star_control/star_control_sub5.h index 2636d6dda2..32094f5227 100644 --- a/engines/titanic/star_control/star_control_sub5.h +++ b/engines/titanic/star_control/star_control_sub5.h @@ -52,11 +52,10 @@ class CStarControlSub5 { int _field8; int _fieldC; double _field10; - byte _field14; - byte _field15; + double _field14; Entry() : _field0(0), _field4(0), _field5(0), _field6(0), _field8(0), - _fieldC(0), _field10(0), _field14(0), _field15(0) {} + _fieldC(0), _field10(0), _field14(0) {} }; struct GridEntry { @@ -112,6 +111,7 @@ private: bool setup2(int val1, int val2); public: CStarControlSub5(); + virtual ~CStarControlSub5() {} virtual bool setup(); virtual void proc2(CStarControlSub6 *sub6, FVector *vector, double v1, double v2, double v3, -- cgit v1.2.3