diff options
author | Filippos Karapetis | 2017-03-22 22:58:22 +0200 |
---|---|---|
committer | Filippos Karapetis | 2017-03-22 22:58:22 +0200 |
commit | 808e465e7e684df6b3f4d5ef56633e2dcca2d94e (patch) | |
tree | 4eadbf98448da3faef96528eaef218c9566b0ff1 /engines/fullpipe | |
parent | f669aca3f27c6fc058f8ba94af3bffb3a0ddde5a (diff) | |
download | scummvm-rg350-808e465e7e684df6b3f4d5ef56633e2dcca2d94e.tar.gz scummvm-rg350-808e465e7e684df6b3f4d5ef56633e2dcca2d94e.tar.bz2 scummvm-rg350-808e465e7e684df6b3f4d5ef56633e2dcca2d94e.zip |
FULLPIPE: _data is unused in the Statics and DynamicPhase classes
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/statics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index 8806ce9d05..e77398287a 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -1428,7 +1428,8 @@ Common::Point *StaticANIObject::calcStepLen(Common::Point *p) { Statics::Statics() { _staticsId = 0; - _picture = 0; + _picture = nullptr; + _data = nullptr; } Statics::~Statics() { @@ -1474,7 +1475,6 @@ void Statics::init() { freePixelData(); // TODO: properly dispose old _bitmap _bitmap = reversed; - // _data = ... // useless? } } @@ -2199,6 +2199,7 @@ DynamicPhase::DynamicPhase() { _field_7E = 0; _dynFlags = 0; _someY = 0; + _data = nullptr; } DynamicPhase::~DynamicPhase() { @@ -2217,7 +2218,6 @@ DynamicPhase::DynamicPhase(DynamicPhase *src, bool reverse) { src->init(); _bitmap = src->_bitmap->reverseImage(); - _data = _bitmap->_pixels; _dataSize = src->_dataSize; if (g_fp->_currArchive) { |