OK BUT HOW DOES IT GET TO THAT POINT AGAIN? after i delete e, the loop should go to the next e. correct? and then the next time i call this loop it would not include the deleted e. so can you explain for me. It seems to work also if I delete the NEXT e .. can you explain that.. here is the changed delete code
If flagd=True Then
FreeEntity e\HIDDENSPRITE
FreeEntity e\pivot
Delete After E
Delete e
EndIf
Next
That works with no problems.. why ?
If flagd=True Then
FreeEntity e\HIDDENSPRITE
FreeEntity e\pivot
Delete After E
Delete e
EndIf
Next
That works with no problems.. why ?