Going to the developers forum is a good idea methinks. This is getting too weird...

But my last snippet may have been sucessfully linking to dead pointers.
So try this one...

Code:
...
	if(my) 
	{
		sys_marker("se6");
		logNewValue("mE", me, debugLog, OFF);
		logNewValue("mY", my, debugLog, OFF);

		sys_marker("se7");	ENTITY* tmpE;
		for(tmpE=ent_next(NULL); tmpE; tmpE=ent_next(tmpE)) 
		{	if(tmpE==me)	{	ent_remove(me);		break;	}	}
		if(tmpE != me)		{	error("entity not found ... dead?");	}
	}
	sys_marker("se8");
}




"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial