SRL Archive - Reflection Development

Free GroundItem


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;

Cstrike

2010-11-10 10:26:45

This would be a great idea :)
Though I think Method fixed GroundItem leaking