netejant capçaleres
This commit is contained in:
@@ -149,7 +149,7 @@ auto Cache::getText(const std::string& name) -> std::shared_ptr<Text> {
|
||||
}
|
||||
|
||||
// Obtiene la animación a partir de un nombre
|
||||
auto Cache::getAnimations(const std::string& name) -> Animations& {
|
||||
auto Cache::getAnimations(const std::string& name) -> SurfaceAnimatedSprite::Animations& {
|
||||
auto it = std::ranges::find_if(animations_, [&name](const auto& a) { return a.name == name; });
|
||||
|
||||
if (it != animations_.end()) {
|
||||
@@ -300,7 +300,7 @@ void Cache::loadAnimations() {
|
||||
|
||||
for (const auto& l : list) {
|
||||
auto name = getFileName(l);
|
||||
animations_.emplace_back(name, loadAnimationsFromFile(l));
|
||||
animations_.emplace_back(name, SurfaceAnimatedSprite::loadAnimationsFromFile(l));
|
||||
updateLoadingProgress();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user