Fix Apache's guns being blocked by walls in TD.

Closes #6192.
Merge pull request #6194 from obrakmann/fix6192

Fix Apache's guns being blocked by walls in TD.