Fix iteration, spotted by ancientcc: http://r.wesnoth.org/t38965
Merge branch 'master' of github.com:wesnoth/wesnoth-old