fixed missing initialisations found by coverity scan

Coverity CID 1197086
fixed Division by float zero

Coverity scan CID 1197074 and more numbers
Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop