aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-22 11:42:50 +0300
committerEugene Sandulenko2013-09-22 11:42:50 +0300
commit2b2157cf620da980bb8bad0adcf43fef4b4d40a8 (patch)
tree9a21b6686d83ebf0caae700d8ba845f4e0b4b1de
parent6e7f4d3669437e616676cc332c06c79cb0ce4c97 (diff)
downloadscummvm-rg350-2b2157cf620da980bb8bad0adcf43fef4b4d40a8.tar.gz
scummvm-rg350-2b2157cf620da980bb8bad0adcf43fef4b4d40a8.tar.bz2
scummvm-rg350-2b2157cf620da980bb8bad0adcf43fef4b4d40a8.zip
FULLPIPE: Initialize class variable in constructor. CID 1090697
-rw-r--r--engines/fullpipe/motion.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h
index e692c01726..d666bc5cd4 100644
--- a/engines/fullpipe/motion.h
+++ b/engines/fullpipe/motion.h
@@ -30,12 +30,12 @@ int doSomeAnimation(int objId, int objKey, int a3);
int doSomeAnimation2(int objId, int objKey);
class MotionController : public CObject {
- public:
+public:
int _field_4;
bool _isEnabled;
- public:
- MotionController() : _isEnabled(true) {}
+public:
+ MotionController() : _isEnabled(true), _field_4(0) {}
virtual bool load(MfcArchive &file);
void setEnabled() { _isEnabled = true; }