X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGraphic%2FModels.cpp;fp=Source%2FGraphic%2FModels.cpp;h=4120864b74146e015f0b4830462cfc40e908a759;hb=e66f03512f2e3471462c3927f47e464711eb7ae8;hp=1e5947277b70d4fb2ed0a0ca3794d0191bafbd1e;hpb=fdda8bfcd51741554efb27b2eca25bea63675595;p=lugaru.git diff --git a/Source/Graphic/Models.cpp b/Source/Graphic/Models.cpp index 1e59472..4120864 100644 --- a/Source/Graphic/Models.cpp +++ b/Source/Graphic/Models.cpp @@ -30,8 +30,6 @@ extern float fadestart; extern float texdetail; extern bool decals; -extern bool visibleloading; - int Model::LineCheck(XYZ *p1, XYZ *p2, XYZ *p, XYZ *move, float *rotate) { static int j; @@ -474,8 +472,7 @@ bool Model::load(const std::string& filename, bool texture ) LOG(std::string("Loading model...") + filename); - if (visibleloading) - Game::LoadingScreen(); + Game::LoadingScreen(); type = normaltype; color = 0; @@ -819,8 +816,7 @@ void Model::Rotate(float xang, float yang, float zang) void Model::CalculateNormals(bool facenormalise) { - if (visibleloading) - Game::LoadingScreen(); + Game::LoadingScreen(); static int i; if (type != normaltype && type != decalstype) return;