EntityParent busted with Linkedlist

Blitz3D Forums/Blitz3D Programming/EntityParent busted with Linkedlist

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I've added list functionality to my Object. It's working fine and dandy except for a peculiar problem. If I delete several objects and add an object, when I call EntityParent mdl_arrow,ODE_object_list\current\mesh I'm told 'Entity does no exist'. But both have values mdl_arrow=32679648 and ODE_object_list\current\mesh=32394568.

I set all values to 0 after deleting objects or entities so the value in ODE_object_list\current\mesh is only>0 when I create a mesh, and don't touch mdl_value after loading the mesh. How can EntityParent fail to find both entites when they both exist?