TLists

BlitzMax Forums/BlitzMax Programming/TLists

Ok, sorry about the lack of information:

Function update_all()	
	Local a:TObject
	
	For a = EachIn object_list		
		a.update()
			
	Next
	
End Function

Method Destroy()			
	object_index[self.index].link.remove

	If object_list.contains(Self) Then Notify "Gah"
				
End Method


"Gah" always shows, yet the removed objects are never looped through again.