This commit is contained in:
parent
6c6f7f744b
commit
2b8ba9ab84
2 changed files with 5 additions and 6 deletions
|
@ -409,13 +409,11 @@ void CGameOverScene::thinkGameOver(int _frames)
|
|||
{
|
||||
if(!CFader::isFading())
|
||||
{
|
||||
if(!m_finishedGrowingText)
|
||||
m_gameOverTimer+=_frames;
|
||||
|
||||
if(m_finishedGrowingText&&!m_readyToExit)
|
||||
{
|
||||
m_gameOverTimer+=_frames;
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!m_readyToExit&&PadGetDown(0)&(PAD_START|PAD_CROSS))
|
||||
if(PadGetDown(0)&(PAD_START|PAD_CROSS)||m_gameOverTimer>GAMEOVER_DISPLAY_TIME)
|
||||
{
|
||||
m_readyToExit=true;
|
||||
CFader::setFadingOut();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue