I fixed about 30-50 missing curly brackets pairs. First I wanted to find a script that would do the job for me, but google showed nothing at all, so I did small one-liner with grep - to print lines with 'if' and 'else' that are probably missing curly brackets.
As for the empty instructions, I dont know if this is common, but for me it is more convenient - to understand what the code does. I will commit the changes tonight. -- 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