summaryrefslogtreecommitdiff
path: root/Tile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Tile.h')
-rw-r--r--Tile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tile.h b/Tile.h
index 371e121..d151ae7 100644
--- a/Tile.h
+++ b/Tile.h
@@ -44,7 +44,7 @@ class Tile
void set_neighbor_mine_count(int count) { this->neighbor_mine_count = count; };
Tile *get_neighbor(int i);
- Tile *neighbors[8]; // one day make private with getters/setters
+ Tile *neighbors[8] = {0}; // one day make private with getters/setters
private:
void set_flags(enum STATE flags) { this->flags = flags; };
int x;