This commit is contained in:
parent
031ef5c5e4
commit
3de0332396
2 changed files with 10 additions and 2 deletions
|
@ -143,7 +143,7 @@ SpriteBank *m_sprites;
|
|||
FontBank *m_font;
|
||||
|
||||
CFrontEndScene::FrontEndMode CFrontEndScene::s_startMode=MODE__NICK_LOGO;
|
||||
|
||||
int CFrontEndScene::s_bootUp=1;
|
||||
|
||||
/*----------------------------------------------------------------------
|
||||
Function:
|
||||
|
@ -153,7 +153,14 @@ CFrontEndScene::FrontEndMode CFrontEndScene::s_startMode=MODE__NICK_LOGO;
|
|||
---------------------------------------------------------------------- */
|
||||
void CFrontEndScene::init()
|
||||
{
|
||||
CLevel::DisplayLoadingScreen();
|
||||
if (s_bootUp)
|
||||
{ // Dont display ingame loading screen on bootup
|
||||
s_bootUp=0;
|
||||
}
|
||||
else
|
||||
{
|
||||
CLevel::DisplayLoadingScreen();
|
||||
}
|
||||
|
||||
for(int i=0;i<MODE__NONE;i++)
|
||||
{
|
||||
|
|
|
@ -91,6 +91,7 @@ private:
|
|||
static class CFrontEndMode *s_modeCodes[];
|
||||
|
||||
static FrontEndMode s_startMode;
|
||||
static int s_bootUp;
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue