Fix deletion-flag-check

currently the bullet will get an impact but the hit object won't. this is due to the flag checks being the wrong way around.