diff options
author | kwolekr <kwolekr@minetest.net> | 2013-03-17 23:07:51 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-17 23:08:11 -0400 |
commit | 939397dd6e9cf26358b7e7f07aa58b72b175691f (patch) | |
tree | 20bdcd63bbef4c0b333fe71e47647e16cb57f821 /src/mapgen.cpp | |
parent | d207d359d12ef1ae27b0e3255834d8939e687a14 (diff) | |
download | minetest-939397dd6e9cf26358b7e7f07aa58b72b175691f.tar.gz minetest-939397dd6e9cf26358b7e7f07aa58b72b175691f.tar.bz2 minetest-939397dd6e9cf26358b7e7f07aa58b72b175691f.zip |
Add jungle grass to jungles
Diffstat (limited to 'src/mapgen.cpp')
-rw-r--r-- | src/mapgen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen.cpp b/src/mapgen.cpp index 4316be6fe..dc6dab6bb 100644 --- a/src/mapgen.cpp +++ b/src/mapgen.cpp @@ -111,7 +111,7 @@ void Mapgen::lightSpread(VoxelArea &a, v3s16 p, u8 light) { } -void Mapgen::updateLighting(v3s16 nmin, v3s16 nmax) { +void Mapgen::calcLighting(v3s16 nmin, v3s16 nmax) { VoxelArea a(nmin - v3s16(1,0,1) * MAP_BLOCKSIZE, nmax + v3s16(1,0,1) * MAP_BLOCKSIZE); bool block_is_underground = (water_level >= nmax.Y); @@ -174,7 +174,7 @@ void Mapgen::updateLighting(v3s16 nmin, v3s16 nmax) { } -void Mapgen::updateLightingOld(v3s16 nmin, v3s16 nmax) { +void Mapgen::calcLightingOld(v3s16 nmin, v3s16 nmax) { enum LightBank banks[2] = {LIGHTBANK_DAY, LIGHTBANK_NIGHT}; VoxelArea a(nmin - v3s16(1,0,1) * MAP_BLOCKSIZE, |