Skip to content
Snippets Groups Projects
Commit e8ab2066 authored by DamianKomdeur's avatar DamianKomdeur
Browse files

Maze bug fix

Update player position when solving the maze
parent 458e7ae4
No related branches found
No related tags found
No related merge requests found
......@@ -304,6 +304,8 @@ namespace PuzzlePlayer_Namespace
foreach(Point p in shortestPath)
{
boardState[p.X, p.Y] = 1;
playerPos.X = p.X;
playerPos.Y = p.Y;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment