added difficulty (speed and points)

This commit is contained in:
2021-08-28 19:51:32 +02:00
parent 914b9e4123
commit 502835453a
3 changed files with 60 additions and 26 deletions

View File

@@ -578,9 +578,9 @@ void Director::runTitle()
void Director::runGame()
{
if (mSection.subsection == GAME_SECTION_PLAY_1P)
mGame = new Game(1, mRenderer, mFileList, mLang, mInput1, mInput2, false);
mGame = new Game(1, mRenderer, mFileList, mLang, mInput1, mInput2, false, mOptions->difficulty);
if (mSection.subsection == GAME_SECTION_PLAY_2P)
mGame = new Game(2, mRenderer, mFileList, mLang, mInput1, mInput2, false);
mGame = new Game(2, mRenderer, mFileList, mLang, mInput1, mInput2, false, mOptions->difficulty);
setSection(mGame->run());
delete mGame;
}