A library for solving mazes.

Files at this revision

API Documentation at this revision

Comitter:
Pinski1
Date:
Sat Jun 25 07:55:05 2011 +0000
Parent:
1:80b73beb7742
Commit message:
Minor change to getDirection

Changed in this revision

Lees_Algorithm.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 80b73beb7742 -r 5343f19381c8 Lees_Algorithm.cpp
--- a/Lees_Algorithm.cpp	Sat Jun 25 07:22:36 2011 +0000
+++ b/Lees_Algorithm.cpp	Sat Jun 25 07:55:05 2011 +0000
@@ -147,7 +147,7 @@
         default:
             break;
     }
-    
+    if(map[position.y][position.x].weight == 0) buffer = 'x';
     return buffer;
 }