made snipers unable to shoot anything else than infantry

fixes #3530 using a target type workaround
Merge pull request #3657 from Mailaender/sniper-versus

Made snipers unable to shoot anything else than infantry