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

Closes #6192.