When clicking on a creature, you either get to attack it, or move towards it if its out of range.
EXCEPT if you are close enough to attack it but it's behind a wall. So the path is too long to reach it for an attack...
....Then you get the 'path to long' message and do NOT move towards it.