aedrax / maze-solver

0 stars 0 forks source link

Maze Editor Pane is misreading what walls are being added #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Choose one of the preloaded mazes
2.Try to add or remove a wall with the mouse

What is the expected output? What do you see instead?
I expected to see the wall toggle but instead a wall at a totally different
location would be added sometimes.

I did change the load and save functions so that they could use files using
a preexisting .maz format but don't think that this should have messed with
what's going on here.

Original issue reported on code.google.com by frey...@gmail.com on 12 May 2009 at 5:26

GoogleCodeExporter commented 9 years ago
Upon further review it looks like you're adding walls using the older cooridnate
system instead of the current one.  (1,1) is the top left corner instead of 
(0,0)
being the bottom left.  I'll try fixing this myself but if it isn't fixed in an 
hour
then I couldn't figure it out.

Original comment by frey...@gmail.com on 12 May 2009 at 5:29

GoogleCodeExporter commented 9 years ago
Fixed

Original comment by jcps...@gmail.com on 12 May 2009 at 5:45

GoogleCodeExporter commented 9 years ago

Original comment by lukelast@gmail.com on 15 May 2009 at 6:20