aboutsummaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2014-01-06 21:17:19 -0500
committerShadowNinja <shadowninja@minetest.net>2014-01-06 21:25:10 -0500
commit0fd5c61c00819ae3eaf298739e8cf879e2d43820 (patch)
treef64a8217f350e3d733b0a025bc9ee614c6b5fd65 /src/map.h
parentc46574f30f31fc186087f05d9100845d44319795 (diff)
downloadminetest-0fd5c61c00819ae3eaf298739e8cf879e2d43820.tar.gz
minetest-0fd5c61c00819ae3eaf298739e8cf879e2d43820.tar.bz2
minetest-0fd5c61c00819ae3eaf298739e8cf879e2d43820.zip
Revert "Improve (re)spawn, add cache_block_before_spawn and max_spawn_height settings"
The commit didn't work because the blocks weren't loaded yet. This reverts commit 22dbbf0a6fc9547f0dbdb7f6076337b8c6acd48b. Conflicts: minetest.conf.example
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index fa88109a3..5ec1a0b9d 100644
--- a/src/map.h
+++ b/src/map.h
@@ -428,7 +428,7 @@ public:
void prepareBlock(MapBlock *block);
// Helper for placing objects on ground level
- s16 findGroundLevel(v2s16 p2d, bool cacheBlocks);
+ s16 findGroundLevel(v2s16 p2d);
/*
Misc. helper functions for fiddling with directory and file