diff options
author | kwolekr <kwolekr@minetest.net> | 2013-11-17 01:59:04 -0500 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-11-17 01:59:04 -0500 |
commit | e396fb29840c3b87b0442fe6d641c94e8165ed27 (patch) | |
tree | 2e0acec1876e64db499c1bb7cc65a113ca3469fd /src/map.h | |
parent | 90e7832408eb313676d40b747ec533c3b07e5c28 (diff) | |
download | minetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.tar.gz minetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.tar.bz2 minetest-e396fb29840c3b87b0442fe6d641c94e8165ed27.zip |
Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -403,6 +403,9 @@ public: */ MapBlock * emergeBlock(v3s16 p, bool create_blank=true); + + // Carries out any initialization necessary before block is sent + void prepareBlock(MapBlock *block); // Helper for placing objects on ground level s16 findGroundLevel(v2s16 p2d); |