diff --git a/src/Builder.c b/src/Builder.c index 518f7d62a..17421e949 100644 --- a/src/Builder.c +++ b/src/Builder.c @@ -360,7 +360,7 @@ static void OutputChunkPartsMeta(int x, int y, int z, struct ChunkInfo* info) { } void Builder_MakeChunk(struct ChunkInfo* info) { -#ifdef CC_BUILD_MAXSTACK <= (32 * 1024) +#if CC_BUILD_MAXSTACK <= (32 * 1024) BlockID* chunk = (cc_uint8*)temp_mem; cc_uint8* counts = (cc_uint8*)temp_mem + EXTCHUNK_SIZE_3; #else diff --git a/src/Core.h b/src/Core.h index 6391135d0..bbdc7ffd2 100644 --- a/src/Core.h +++ b/src/Core.h @@ -585,7 +585,7 @@ typedef cc_uint8 cc_bool; #endif #ifndef CC_BUILD_MAXSTACK - #define CC_BUILD_MAXSTACK (128 * 1024) + #define CC_BUILD_MAXSTACK (256 * 1024) #endif #ifdef EXTENDED_BLOCKS