Right now I have the problem that a removed entity
is not recognized as NULL, but
is like a "ZERO" entity, with positiondata at 0,0,0 for example.
This engine really has some flaws.
if(myTarget!=NULL)
{
if((myTarget.x==0) && (myTarget.z==0) ) {ent_remove(myTarget);}
-> results in a crash, because myTarget is NULL ...
so first its Not Null, then its Null...
Very good engine programming