wesnoth/wesnoth — pull request #269 by LovCAPONE (2014-08-07 15:15:19+00:00)
Title: Fix bug #22306: move_unit moves a unit even when it shouldn't

This concerns https://gna.org/bugs/index.php?22306

Modified the lua script for wml_action.move_unit. In the loop to check for vacant tile, if the current location
is equal to the previous location we don't look for a vacant tile since our location is free (where we are).