diff options
author | Andrei Prykhodko | 2018-06-30 15:30:36 +0300 |
---|---|---|
committer | Andrei Prykhodko | 2018-06-30 15:30:36 +0300 |
commit | d0adf31467fb2deea9a18f296f32d30cb7b6ed16 (patch) | |
tree | 75c404a179a64ec6881fc4c504767ea1c394848a /engines/pink/objects/actors | |
parent | 5f0fec7de2f9f2df3124aaa2388edbc3d03d2e37 (diff) | |
download | scummvm-rg350-d0adf31467fb2deea9a18f296f32d30cb7b6ed16.tar.gz scummvm-rg350-d0adf31467fb2deea9a18f296f32d30cb7b6ed16.tar.bz2 scummvm-rg350-d0adf31467fb2deea9a18f296f32d30cb7b6ed16.zip |
PINK: removed unnecessary function
Diffstat (limited to 'engines/pink/objects/actors')
-rw-r--r-- | engines/pink/objects/actors/actor.cpp | 8 | ||||
-rw-r--r-- | engines/pink/objects/actors/actor.h | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/engines/pink/objects/actors/actor.cpp b/engines/pink/objects/actors/actor.cpp index 0c327aee03..34af26f597 100644 --- a/engines/pink/objects/actors/actor.cpp +++ b/engines/pink/objects/actors/actor.cpp @@ -79,14 +79,6 @@ bool Actor::initPalette(Director *director) { return false; } -void Actor::preloadSprites() { - for (uint i = 0; i < _actions.size(); ++i) { - ActionCEL *cel = dynamic_cast<ActionCEL*>(_actions[i]); - if (cel) - cel->loadDecoder(); - } -} - void Actor::toConsole() { debug("Actor: _name = %s", _name.c_str()); for (uint i = 0; i < _actions.size(); ++i) { diff --git a/engines/pink/objects/actors/actor.h b/engines/pink/objects/actors/actor.h index 47f5bc50d0..294beb99b6 100644 --- a/engines/pink/objects/actors/actor.h +++ b/engines/pink/objects/actors/actor.h @@ -50,8 +50,6 @@ public: virtual void init(bool paused); bool initPalette(Director *director); - void preloadSprites(); - void toConsole() override; bool isPlaying() { return !_isActionEnded; } |