Changed

entity->skill99 = (long)body; // save body pointer with entity
to
entity->skill99 = body; // save body pointer with entity
but it still crashes with the above code and the object is still there.


My Specialities Limited.