summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-02-06 17:40:20 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-02-06 17:40:20 +0100
commit087f11a6f89559030fd9aa88bb7a4663211c9184 (patch)
tree54cb0b4f773b6ab68deb16d00424390823472047
parent236f7163826edf5a6f521c382fd6f21e460c81d2 (diff)
Removed unused whitespaces
-rw-r--r--src/Game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Game.cpp b/src/Game.cpp
index c545530..07c1519 100644
--- a/src/Game.cpp
+++ b/src/Game.cpp
@@ -12,7 +12,7 @@ void Game::initDiff(int diff){
boardHeight = 9;
mines = 9;
break;
- case 1:
+ case 1:
boardWidth = 16;
boardHeight = 16;
mines = 12;
@@ -163,7 +163,7 @@ void Game::input(){
int x, y;
std::cin >> x >> y;
-
+
if(x < 0 || x >= boardWidth || y < 0 || y >= boardHeight) return;
if(cmd == "d"){
if(bombMap[y][x]){
@@ -192,4 +192,4 @@ void Game::input(){
//if(cmd == "f"){
// flag[y][x] = true;
//}
-}
+}