aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-28 20:46:05 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-28 22:01:21 +0300
commit9a1df7bf3879bc77025779f11f4a99943572931f (patch)
tree40bf1130087c6ccc02f98e83b9e54ecc6a005713 /src/server.cpp
parent81b9cfdfa47172171524a6a81bd5467581bfcbd3 (diff)
downloadminetest-9a1df7bf3879bc77025779f11f4a99943572931f.tar.gz
minetest-9a1df7bf3879bc77025779f11f4a99943572931f.tar.bz2
minetest-9a1df7bf3879bc77025779f11f4a99943572931f.zip
Add blockseed to on_generated
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 6756e4a08..d3c1218e7 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -283,7 +283,7 @@ void * EmergeThread::Thread()
v3s16 minp = block->getPos()*MAP_BLOCKSIZE;
v3s16 maxp = minp + v3s16(1,1,1)*(MAP_BLOCKSIZE-1);
scriptapi_environment_on_generated(m_server->m_lua,
- minp, maxp);
+ minp, maxp, mapgen::get_blockseed(data.seed, minp));
if(enable_mapgen_debug_info)
infostream<<"EmergeThread: ended up with: "