diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/pink/objects/actions/action_cel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/pink/objects/actions/action_cel.cpp b/engines/pink/objects/actions/action_cel.cpp index 7100344246..a2cf1923d6 100644 --- a/engines/pink/objects/actions/action_cel.cpp +++ b/engines/pink/objects/actions/action_cel.cpp @@ -95,7 +95,6 @@ void ActionCEL::closeDecoder() { _decoder.close(); } - void ActionCEL::setFrame(uint frame) { _decoder.rewind(); @@ -104,6 +103,7 @@ void ActionCEL::setFrame(uint frame) { } _decoder.clearDirtyRects(); + _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); } void ActionCEL::decodeNext() { @@ -111,7 +111,6 @@ void ActionCEL::decodeNext() { _actor->getPage()->getGame()->getDirector()->addDirtyRects(this); } - void ActionCEL::setCenter(const Common::Point ¢er) { _actor->getPage()->getGame()->getDirector()->addDirtyRect(_bounds); _bounds = Common::Rect::center(center.x, center.y, _decoder.getWidth(), _decoder.getHeight()); |