Tightened codecheck for prefering empty over comparing size with zero. Fixed issues uncovered
Tightened codecheck for prefering empty over comparing size with zero. Fixed issues uncovered
Reduced scope
Reduce scope and made constant
Reduced scope for two variables. Found by cppcheck
Fixed division by zero in AI
Merged trunk
alternative solution of bug-1388028
Using exception again
Fixed crash in AI where military strength could be empty after loading a savegame.