mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 20:22:02 +00:00

This is done for consistency with similar functions in mainline. In principle this breaks backward compatibility. However, while it is theoretically possible for this to happen, this function will generally always return at least the hex the unit is on, so it is very unlikely that this actually makes a difference somewhere.