From 53c7572acc0b7d11af77edd1d8934371a348220b Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Tue, 3 Feb 2026 12:28:15 +0100 Subject: Fixes --- src/Game.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/Game.cpp') diff --git a/src/Game.cpp b/src/Game.cpp index 80bff12..6a75758 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -57,7 +57,7 @@ void Game::initBoard(){ // DEBUG: seeing bombs // if(bombMap[i][j] == true){ // tileMap[i][j] = 11; - // } + //} } } } @@ -65,12 +65,6 @@ void Game::initBoard(){ void Game::updateBoard(){ for(int x=0; x < boardWidth; x++){ for(int y=0; y < boardHeight; y++){ - if(revealed[x][y] == false){ - tileMap[x][y] = 0; - } else { - tileMap[x][y] = 1; - } - if(Game::bombCheck(x, y) == 0 && revealed[x][y] == true){ revealed[x-1][y+1] = true; revealed[x][y+1] = true; -- cgit v1.2.3