From 465bb6f5d13803819f329e4920bceb25a3887c6f Mon Sep 17 00:00:00 2001 From: paramat Date: Sat, 2 Apr 2016 02:05:08 +0100 Subject: Mapgen: Optimise cave noises and tunnel excavation Instead of doing nothing at node_max.Y + 1 use 1-down overgeneration for tunnel generation and noisemaps Move some old unused code in mgv7 to end of file --- src/mapgen_flat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mapgen_flat.h') diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h index 282e42975..8ddfe708f 100644 --- a/src/mapgen_flat.h +++ b/src/mapgen_flat.h @@ -60,7 +60,7 @@ public: BiomeManager *bmgr; int ystride; - int zstride; + int zstride_1d; u32 spflags; v3s16 node_min; -- cgit v1.2.3