Bad Boy JH
2010-11-10 05:26:11
just a quick suggestion, since all the other things that create memory leaks, DTMs, BMPs etc all have a 'free' function, GroundItems should have one also, I think it would be along these lines.
procedure FreeGroundItems(var Items: TGroundItemArray);
begin
Items := [];
end;