summary refs log tree commit diff stats
path: root/Source/Validator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Validator.cpp')
-rw-r--r--Source/Validator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Validator.cpp b/Source/Validator.cpp index e71dc34..cb0ffa8 100644 --- a/Source/Validator.cpp +++ b/Source/Validator.cpp
@@ -1,3 +1,4 @@
1#include "pch.h"
1#include "Validator.h" 2#include "Validator.h"
2#include "Puzzle.h" 3#include "Puzzle.h"
3 4
@@ -10,7 +11,7 @@ void Validator::Validate(Puzzle& p) {
10 bool puzzleHasSymbols = false; 11 bool puzzleHasSymbols = false;
11 bool puzzleHasStart = false; 12 bool puzzleHasStart = false;
12 bool puzzleHasEnd = false; 13 bool puzzleHasEnd = false;
13 // Validate gap failures as an early exit. 14 // Validate gap failures as an early exit.
14 for (int x = 0; x < p.width; x++) { 15 for (int x = 0; x < p.width; x++) {
15 for (int y = 0; y < p.height; y++) { 16 for (int y = 0; y < p.height; y++) {
16 Cell cell = p.grid[x][y]; 17 Cell cell = p.grid[x][y];