Faster fog density computation, improving map rendering performance with complex maps
Micro-optimization and unneeded code removal
Work-around for bug that placing block occasionally becomes impossible (the actual cause of this problem is still unknown)
Merge branch 'master' into swrenderer