X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FUtils%2FImageIO.cpp;fp=Source%2FUtils%2FImageIO.cpp;h=95f89544c26b062c5751faa1dd310b2fa4d6c4cd;hb=e66f03512f2e3471462c3927f47e464711eb7ae8;hp=508c10f54247a9d57412bbdc7c16f7c0e7daed88;hpb=fdda8bfcd51741554efb27b2eca25bea63675595;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;