diff options
author | Eugene Sandulenko | 2014-01-12 10:59:14 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-12 10:59:14 +0200 |
commit | 491a045eea1af99a4bf54ab84304135c946b6cc0 (patch) | |
tree | 264a6a625baaa2469785d015aff72e07cb03ad78 /engines/fullpipe/statics.cpp | |
parent | 4e592c724904bb0bc597e5bc7fe7707c1f858dab (diff) | |
download | scummvm-rg350-491a045eea1af99a4bf54ab84304135c946b6cc0.tar.gz scummvm-rg350-491a045eea1af99a4bf54ab84304135c946b6cc0.tar.bz2 scummvm-rg350-491a045eea1af99a4bf54ab84304135c946b6cc0.zip |
FULLPIPE: Implement Movement::freePixelData()
Diffstat (limited to 'engines/fullpipe/statics.cpp')
-rw-r--r-- | engines/fullpipe/statics.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/fullpipe/statics.cpp b/engines/fullpipe/statics.cpp index 9c025dcf29..10d9b4dfdf 100644 --- a/engines/fullpipe/statics.cpp +++ b/engines/fullpipe/statics.cpp @@ -1690,7 +1690,12 @@ void Movement::loadPixelData() { } void Movement::freePixelData() { - warning("STUB: Movement::freePixelData()"); + if (!_currMovement) + for (uint i = 0; i < _dynamicPhases.size(); i++) + ((DynamicPhase *)_dynamicPhases[i])->freePixelData(); + + if (_staticsObj1) + _staticsObj1->freePixelData(); } void Movement::removeFirstPhase() { |