This commit is contained in:
parent
a8ebe3b50f
commit
1269796a53
1 changed files with 8 additions and 5 deletions
|
@ -90,12 +90,15 @@ void CFrontEndNickLogo::unselect()
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
void CFrontEndNickLogo::think(int _frames)
|
void CFrontEndNickLogo::think(int _frames)
|
||||||
{
|
{
|
||||||
m_frameCount+=_frames;
|
if(!CFader::isFading())
|
||||||
|
|
||||||
if(m_frameCount>DISPLAY_FRAMES&!m_readyToExit)
|
|
||||||
{
|
{
|
||||||
CFader::setFadingOut();
|
m_frameCount+=_frames;
|
||||||
m_readyToExit=true;
|
|
||||||
|
if(m_frameCount>DISPLAY_FRAMES&!m_readyToExit)
|
||||||
|
{
|
||||||
|
CFader::setFadingOut();
|
||||||
|
m_readyToExit=true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue