[editor] Division by 0 fix. Patch from einheit-101.

git-svn-id: https://mtasa-resources.googlecode.com/svn/trunk@1012 126a8462-9353-1474-c972-ef1b1113b2d6