Allright, I fixed it, though just a while before committing I found more places where curly brackets should be put. If you will have further comments to fix I will add those brackets as well. I think it performs quite nicely now.
To GunChleoc - I worked as a translator for few years as well :) -- https://code.launchpad.net/~widelands-dev/widelands/tibor-ai5/+merge/228762 Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/tibor-ai5. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : widelands-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp