Parade
2012-06-24 23:02:08
I'm playing around with SPS_BlindWalk and setting up the TPoint, something must have gone askew. I get an error:
Do you not set them up like an array? Here is a snippet of my code:
Edit: Also, if it means anything, I have actual TPointArrays being setup in the MyPaths procedure too.
[Error] (30:35): Type mismatch at line 29
Do you not set them up like an array? Here is a snippet of my code:
var
ToGold: TPoint;
procedure MyPaths;
begin
ToGold := [Point(339, 423)]; //This is line 29
end;
procedure BlindWalkToGold;
begin
SetRun(True);
MakeCompass('n');
SPS_BlindWalk(ToGold);
end; Edit: Also, if it means anything, I have actual TPointArrays being setup in the MyPaths procedure too.