Follow-up Comment #2, bug #23103 (project wesnoth):
It indeed seems like a corner case that the WML author should take into
consideration.
However, it *could* be smarter and simply ignore check_passability if there
aren't (or can't be) *any* passable locations on the whole map and just place
the unit where it was told to (still respecting find_vacant, of course) and
write a note about it to the log.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23103>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs