This commit is contained in:
Paul 2001-05-11 21:35:08 +00:00
parent c48fce126a
commit 1cf2f4ef81
6 changed files with 55 additions and 6 deletions

View file

@ -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;
}