mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-13 01:26:50 -04:00
make the generator not plant flowers when game functionality is below version 0.0.23a
This commit is contained in:
parent
ed547fdb1e
commit
a491276cba
@ -5,6 +5,7 @@
|
||||
#include "Platform.h"
|
||||
#include "World.h"
|
||||
#include "Utils.h"
|
||||
#include "Game.h"
|
||||
|
||||
volatile float Gen_CurrentProgress;
|
||||
volatile const char* Gen_CurrentState;
|
||||
@ -488,6 +489,10 @@ static void NotchyGen_CreateSurfaceLayer(void) {
|
||||
}
|
||||
|
||||
static void NotchyGen_PlantFlowers(void) {
|
||||
if (Game_Version.Version < VERSION_0023) {
|
||||
return;
|
||||
}
|
||||
|
||||
int numPatches;
|
||||
BlockRaw block;
|
||||
int patchX, patchZ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user