Fix compile for 4.0.

This commit is contained in:
Relintai 2021-02-06 11:51:26 +01:00
parent 9f89e2a4e7
commit 4d8de70db8
2 changed files with 13 additions and 1 deletions

View File

@ -22,9 +22,15 @@ SOFTWARE.
#include "biome_terrarin_generator.h"
#include "core/math/math_funcs.h"
#include "core/version.h"
#if VERSION_MAJOR > 3
#include "core/config/engine.h"
#else
#include "core/engine.h"
#endif
#include "core/math/math_funcs.h"
#include "../voxelman/world/default/voxel_chunk_default.h"
#include "../voxelman/world/voxel_chunk.h"

View File

@ -23,7 +23,13 @@ SOFTWARE.
#ifndef BIOME_TERRARIN_GENERATOR_H
#define BIOME_TERRARIN_GENERATOR_H
#include "core/version.h"
#if VERSION_MAJOR > 3
#include "core/object/reference.h"
#else
#include "core/reference.h"
#endif
class VoxelChunk;