I've been trying to figure out what's wrong with this code for a long time now with no success, no matter what I've tried. I don't know why, but apparently the open node isn't in the grid when I know for a fact that it is.
I'll post the code on the Pastebin link below as it is fairly long.
http://pastebin.com/mDNG39AG
Look for line 148. Can someone please look over it and make sure there are no daft errors which I've not seen?
Thanks.
↧