aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-03-09 00:25:54 -0500
committerPaul Gilbert2017-03-09 00:25:54 -0500
commit12bedb4a933df74edd820e6785ae7e88c43c0247 (patch)
tree26e6cd90e83351bf48f7e1779f882fcb83bb1aa9
parent0e0500f06546189fa6dcae0f1714f7a0b1c4e0eb (diff)
downloadscummvm-rg350-12bedb4a933df74edd820e6785ae7e88c43c0247.tar.gz
scummvm-rg350-12bedb4a933df74edd820e6785ae7e88c43c0247.tar.bz2
scummvm-rg350-12bedb4a933df74edd820e6785ae7e88c43c0247.zip
TITANIC: Fix compiler warnings
-rw-r--r--engines/titanic/star_control/star_control_sub5.h6
1 files 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,