diff options
author | Eugene Sandulenko | 2013-09-22 11:42:50 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-22 11:42:50 +0300 |
commit | 2b2157cf620da980bb8bad0adcf43fef4b4d40a8 (patch) | |
tree | 9a21b6686d83ebf0caae700d8ba845f4e0b4b1de | |
parent | 6e7f4d3669437e616676cc332c06c79cb0ce4c97 (diff) | |
download | scummvm-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.h | 6 |
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; } |