That's what i was doing at first, too. Then I switched it so it recorded the move index (how many moves had been used to reach that square), which let me backtrack etc just as easily. Come to think of it, I could have just stuck with the directions... bytes instead of longs... grrr[i]I did leave some redudant code in, in my memory matrix it recorded the direction taken to leave a particular square, I had originally used this in order to backtrack out of a dead end and to be able to go down an unexplored path, but once I put the pathfinding in it was obsolete but I never removed it.[/B]




