Prevent dogs from attacking non-infantry. Fixes #4039.
Remove redundant CanAttackGround flag.
Merge pull request #4042 from pchote/dog-fix

A simple fix for dogs vs barrels.