]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Animation/Animation.cpp
Moved visibleloading check inside LoadingScreen
[lugaru.git] / Source / Animation / Animation.cpp
index 89aa9f4da02f6a671b878c935f71e6eb239b85aa..8ee1fd662ea0b171008980a2f0df62af506ed520 100644 (file)
@@ -23,8 +23,6 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include "Game.hpp"
 #include "Utils/Folders.hpp"
 
-extern bool visibleloading;
-
 std::vector<Animation> 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" );