diff --git a/source/director.cpp b/source/director.cpp index 7363985..5ad2007 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -231,7 +231,7 @@ void Director::loadResources(section_t section) // Animaciones std::vector animationList; - animationList.push_back("shine"); + animationList.push_back("shine.ani"); resource->loadAnimations(animationList); diff --git a/source/room.cpp b/source/room.cpp index 1501b95..59fd1d0 100644 --- a/source/room.cpp +++ b/source/room.cpp @@ -397,6 +397,7 @@ Room::Room(room_t *room, SDL_Renderer *renderer, Screen *screen, Asset *asset, o for (auto &enemy : room->enemies) { enemy.renderer = renderer; + enemy.palette = options->palette; enemies.push_back(new Enemy(enemy)); }