Skip to content

Commit

Permalink
PINK: removed unnecessary function
Browse files Browse the repository at this point in the history
  • Loading branch information
voltya committed Jun 30, 2018
1 parent 5f0fec7 commit d0adf31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions engines/pink/objects/actors/actor.cpp
Expand Up @@ -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) {
Expand Down
2 changes: 0 additions & 2 deletions engines/pink/objects/actors/actor.h
Expand Up @@ -50,8 +50,6 @@ class Actor : public NamedObject {
virtual void init(bool paused);
bool initPalette(Director *director);

void preloadSprites();

void toConsole() override;

bool isPlaying() { return !_isActionEnded; }
Expand Down

0 comments on commit d0adf31

Please sign in to comment.