summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 1e26381a..2608612a 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -471,6 +471,7 @@ ResetLoadingScreenBar()
void
LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
{
+#ifndef DISABLE_LOADING_SCREEN
CSprite2d *splash;
#ifndef RANDOMSPLASH
@@ -534,6 +535,7 @@ LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
CFont::DrawFonts();
DoRWStuffEndOfFrame();
}
+#endif
}
void