diff options
author | kwolekr <kwolekr@minetest.net> | 2013-06-25 11:02:02 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-06-27 22:35:35 -0400 |
commit | d6ac3d8d9a6484f2d348d1caea203de0069b6bd6 (patch) | |
tree | aacdcb34b068a45a7f798769519632657813a554 /src/mapgen.h | |
parent | e47f6fdfe985b8907e0aa7372bb325ceb5ed5f4c (diff) | |
download | minetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.tar.gz minetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.tar.bz2 minetest-d6ac3d8d9a6484f2d348d1caea203de0069b6bd6.zip |
Add LuaVoxelManip
Diffstat (limited to 'src/mapgen.h')
-rw-r--r-- | src/mapgen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mapgen.h b/src/mapgen.h index 0090b0eda..0ed64f85c 100644 --- a/src/mapgen.h +++ b/src/mapgen.h @@ -108,8 +108,8 @@ public: void calcLighting(v3s16 nmin, v3s16 nmax); void calcLightingOld(v3s16 nmin, v3s16 nmax); - virtual void makeChunk(BlockMakeData *data) {}; - virtual int getGroundLevelAtPoint(v2s16 p) = 0; + virtual void makeChunk(BlockMakeData *data) {} + virtual int getGroundLevelAtPoint(v2s16 p) { return 0; } //Legacy functions for Farmesh (pending removal) static bool get_have_beach(u64 seed, v2s16 p2d); |