summaryrefslogtreecommitdiff
path: root/src/mapgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen.h')
-rw-r--r--src/mapgen.h4
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);