From 3a41ff521bd1e95a85bf93ac77d69108a1d9c0c5 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Sun, 14 Jun 2020 21:57:47 +0930 Subject: work on getting new game working new games work only if the width and height are the same values --- Tile.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Tile.cpp') diff --git a/Tile.cpp b/Tile.cpp index dfad786..6a86eca 100644 --- a/Tile.cpp +++ b/Tile.cpp @@ -21,9 +21,6 @@ Tile::Tile(int x, int y) this->y = y; this->neighbor_mine_count = 0; // - // better way? - for (int x = 0; x < 8; x++) - neighbors[x] = 0; this->flags = HIDDEN; /* make sure we init the flags */ } -- cgit v1.2.3