Skip to content
Permalink
Browse files
Fix lack of default case in printMaze() (Fixes #5)
Fix a lack of a default case in the printMaze() function to prevent the renderer from breaking.
  • Loading branch information
Jesse Prescott committed Jan 26, 2018
1 parent 52b01fd commit 3487beadadf5045a24e341015351c5ffdb172c25
Showing 1 changed file with 1 addition and 1 deletion.
@@ -184,7 +184,7 @@ void Maze::printMaze() {
0: Path > 32
1: Wall > 219 */
switch (m_maze[w][h]){
case 0:
default:
std::cout << (char)32 << (char)32;
break;
case 1:

0 comments on commit 3487bea

Please sign in to comment.