From 33d3452dea5db7d9e6ea206cb910ec3f5190eefc Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Sun, 25 Jan 2026 14:51:57 +0100 Subject: fixed randomization --- src/game/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/game.cpp b/src/game/game.cpp index ebd180d..eefbe02 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -75,7 +75,7 @@ public: void initBoard(){ for(int i = 0; i < boardHeight; i++){ for(int j = 0; j < boardWidth; j++){ - bombmap[i][j] = rand() % 1; + bombmap[i][j] = rand() % 2; } } } -- cgit v1.2.3