X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAnimation%2FAnimation.cpp;h=8ee1fd662ea0b171008980a2f0df62af506ed520;hb=d5f64d3689e1ce594e22ad0f6d372cee143872fd;hp=89aa9f4da02f6a671b878c935f71e6eb239b85aa;hpb=5dfd07829a5eecc87d100dd8825a81eafbaa86be;p=lugaru.git diff --git a/Source/Animation/Animation.cpp b/Source/Animation/Animation.cpp index 89aa9f4..8ee1fd6 100644 --- a/Source/Animation/Animation.cpp +++ b/Source/Animation/Animation.cpp @@ -23,8 +23,6 @@ along with Lugaru. If not, see . #include "Game.hpp" #include "Utils/Folders.hpp" -extern bool visibleloading; - std::vector Animation::animations; void Animation::loadAll() @@ -99,8 +97,7 @@ Animation::Animation(const std::string& filename, anim_height_type aheight, anim height = aheight; attack = aattack; - if (visibleloading) - Game::LoadingScreen(); + Game::LoadingScreen(); // read file in binary mode tfile = Folders::openMandatoryFile( filepath, "rb" );