diff options
author | Mattes D <github@xoft.cz> | 2014-10-19 14:01:59 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-10-19 14:01:59 +0200 |
commit | e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2 (patch) | |
tree | d61cac715328f06c58c506dd74b8ee818a0c28ad /src/Generating/VillageGen.h | |
parent | cLuaState: cMonster descendants don't push their specific type. (diff) | |
download | cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.gz cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.bz2 cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.lz cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.xz cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.tar.zst cuberite-e0cfbc4d8526a1a1d3afa8fc0774358f4f18b7e2.zip |
Diffstat (limited to 'src/Generating/VillageGen.h')
-rw-r--r-- | src/Generating/VillageGen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Generating/VillageGen.h b/src/Generating/VillageGen.h index 694ea2358..ed8d739df 100644 --- a/src/Generating/VillageGen.h +++ b/src/Generating/VillageGen.h @@ -21,7 +21,7 @@ class cVillageGen : { typedef cGridStructGen super; public: - cVillageGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize, int a_MinDensity, int a_MaxDensity, cBiomeGen & a_BiomeGen, cTerrainHeightGen & a_HeightGen); + cVillageGen(int a_Seed, int a_GridSize, int a_MaxOffset, int a_MaxDepth, int a_MaxSize, int a_MinDensity, int a_MaxDensity, cBiomeGenPtr a_BiomeGen, cTerrainHeightGenPtr a_HeightGen); protected: class cVillage; // fwd: VillageGen.cpp @@ -42,10 +42,10 @@ protected: int m_MaxDensity; /** The underlying biome generator that defines whether the village is created or not */ - cBiomeGen & m_BiomeGen; + cBiomeGenPtr m_BiomeGen; /** The underlying height generator, used to position the prefabs crossing chunk borders */ - cTerrainHeightGen & m_HeightGen; + cTerrainHeightGenPtr m_HeightGen; // cGridStructGen overrides: |