This commit is contained in:
parent
c48fce126a
commit
1cf2f4ef81
6 changed files with 55 additions and 6 deletions
|
@ -245,7 +245,15 @@ void CGameScene::think(int _frames)
|
|||
}
|
||||
else if (s_restartLevel)
|
||||
{
|
||||
respawnLevel();
|
||||
if(m_player->getLivesLeft()!=0)
|
||||
{
|
||||
respawnLevel();
|
||||
}
|
||||
else
|
||||
{
|
||||
s_readyToExit=true;
|
||||
GameState::setNextScene(&FrontEndScene);
|
||||
}
|
||||
s_restartLevel=false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue