aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/walk.h
diff options
context:
space:
mode:
authorStrangerke2011-08-07 11:34:03 +0200
committerStrangerke2011-08-07 11:34:03 +0200
commitcbb828b337979e4dae4d5f1560ca4debe94079c4 (patch)
treee730c008047cc88ab30639a5ce2744ad5a48902c /engines/cge/walk.h
parent04e09e530a3bff231022ebf1c50ae5b70fc1c4a7 (diff)
downloadscummvm-rg350-cbb828b337979e4dae4d5f1560ca4debe94079c4.tar.gz
scummvm-rg350-cbb828b337979e4dae4d5f1560ca4debe94079c4.tar.bz2
scummvm-rg350-cbb828b337979e4dae4d5f1560ca4debe94079c4.zip
CGE: Fix a couple of warnings reported by cppcheck
Diffstat (limited to 'engines/cge/walk.h')
-rw-r--r--engines/cge/walk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/walk.h b/engines/cge/walk.h
index 115cb4924a..8327c901b6 100644
--- a/engines/cge/walk.h
+++ b/engines/cge/walk.h
@@ -49,7 +49,6 @@ protected:
signed char _a;
signed char _b;
public:
- Couple() { }
Couple(const signed char a, const signed char b) : _a(a), _b(b) { }
Couple operator + (Couple c) {
return Couple(_a + c._a, _b + c._b);
@@ -91,8 +90,8 @@ public:
static void init(CGEEngine *vm);
public:
uint8 &cell();
- Cluster() : Couple() { }
Cluster(int a, int b) : Couple(a, b) { }
+ Cluster() : Couple (-1, -1) { }
bool chkBar() const;
bool isValid() const;