summaryrefslogtreecommitdiffstats
path: root/src/core/FileLoader.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-07-17 12:48:25 +0200
committerSergeanur <s.anureev@yandex.ua>2020-07-17 12:48:25 +0200
commit949d0c8853d31ae88fdf3427bae05ec337ab4b0b (patch)
treea755d2e6f03c9794196f3b0b3f6c7499b67a94a3 /src/core/FileLoader.cpp
parentFix wheel water splash with PC_PARTICLE (diff)
downloadre3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar.gz
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar.bz2
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar.lz
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar.xz
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.tar.zst
re3-949d0c8853d31ae88fdf3427bae05ec337ab4b0b.zip
Diffstat (limited to 'src/core/FileLoader.cpp')
-rw-r--r--src/core/FileLoader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index 3c4ed040..63be2e7b 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -104,7 +104,9 @@ CFileLoader::LoadLevel(const char *filename)
LoadingScreenLoadingFile(line + 8);
LoadMapZones(line + 8);
}else if(strncmp(line, "SPLASH", 6) == 0){
+#ifndef DISABLE_LOADING_SCREEN
LoadSplash(GetRandomSplashScreen());
+#endif
}else if(strncmp(line, "CDIMAGE", 7) == 0){
CdStreamAddImage(line + 8);
}