keep loading screen, but for a second

This commit is contained in:
eray orçunus 2020-07-09 21:48:43 +03:00
parent c012e5a7ff
commit aabf0f4c2c

View File

@ -467,13 +467,16 @@ ResetLoadingScreenBar()
NumberOfChunksLoaded = 0.0f; NumberOfChunksLoaded = 0.0f;
} }
// TODO: compare with PS2
void void
LoadingScreen(const char *str1, const char *str2, const char *splashscreen) LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
{ {
#ifndef DISABLE_LOADING_SCREEN
CSprite2d *splash; CSprite2d *splash;
#ifdef DISABLE_LOADING_SCREEN
if (str1 && str2)
return;
#endif
#ifndef RANDOMSPLASH #ifndef RANDOMSPLASH
if(CGame::frenchGame || CGame::germanGame || !CGame::nastyGame) if(CGame::frenchGame || CGame::germanGame || !CGame::nastyGame)
splashscreen = "mainsc2"; splashscreen = "mainsc2";
@ -535,7 +538,6 @@ LoadingScreen(const char *str1, const char *str2, const char *splashscreen)
CFont::DrawFonts(); CFont::DrawFonts();
DoRWStuffEndOfFrame(); DoRWStuffEndOfFrame();
} }
#endif
} }
void void