mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 14:53:31 +00:00

Don’t check whether rating equals (or doesn’t equal) -9e99 or the like, verify that a valid move was found instead. Also, avoid setting variables to empty tables if not needed.