if (vec_dist(my.x, player.x) < 100)
{
remDocHealth(10);
}


tried that, says empty pointer, i put it in the bullet action so my.x should be the bullets X, but im thinking player isnt working. i use player in other parts of the code though which is strange.