X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FUtils%2FImageIO.cpp;h=95f89544c26b062c5751faa1dd310b2fa4d6c4cd;hb=b32cd80b243d77cd80e026c7ae73e33ec39b1de9;hp=508c10f54247a9d57412bbdc7c16f7c0e7daed88;hpb=24c49b5bd8c82cd433fffe3456334bd3be743da9;p=lugaru.git
diff --git a/Source/Utils/ImageIO.cpp b/Source/Utils/ImageIO.cpp
index 508c10f..95f8954 100644
--- a/Source/Utils/ImageIO.cpp
+++ b/Source/Utils/ImageIO.cpp
@@ -28,8 +28,6 @@ along with Lugaru. If not, see .
#include
#include
-extern bool visibleloading;
-
/* These two are needed for screenshot */
extern int kContextWidth;
extern int kContextHeight;
@@ -51,9 +49,7 @@ ImageRec::~ImageRec()
bool load_image(const char *file_name, ImageRec &tex)
{
- if (visibleloading) {
- Game::LoadingScreen();
- }
+ Game::LoadingScreen();
if ( tex.data == NULL ) {
return false;