Revert "Fixes AttackMove moving even if an enemy is within range."

This reverts commit a155c7b7ac977d61b847e0d3248b649b0faa38d6.
Merge pull request #7169 from pchote/revert-attackmove

Closes #7128