From bb396c8cc00b167f73c50653f66df856d415f5d0 Mon Sep 17 00:00:00 2001 From: faketruth Date: Thu, 16 Feb 2012 15:40:38 +0000 Subject: Heightmap is properly generated after loading chunks now, so /spawn and /top should work properly again git-svn-id: http://mc-server.googlecode.com/svn/trunk@274 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cChunk.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source') diff --git a/source/cChunk.cpp b/source/cChunk.cpp index 89d03bfb5..1383a49d9 100644 --- a/source/cChunk.cpp +++ b/source/cChunk.cpp @@ -238,6 +238,8 @@ void cChunk::SetAllData(const char * a_BlockData, cEntityList & a_Entities, cBlo // Create block entities that the loader didn't load; fill them with defaults CreateBlockEntities(); + + CalculateHeightmap(); } -- cgit v1.2.3