petra: fix choice of target when enemy resigned + some cleanings

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16047 3db68df2-c116-0410-a063-a993310a9797
improve a bit the fix of r16047

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16048 3db68df2-c116-0410-a063-a993310a9797
Fixes intermittent error messages caused by uninitialized variable


git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16049 3db68df2-c116-0410-a063-a993310a9797
Automated build.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16050 3db68df2-c116-0410-a063-a993310a9797
small fixes for petra

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16051 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'
Merge branch 'master' into experimental