summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-26 21:35:24 +0100
committerMattes D <github@xoft.cz>2014-10-26 21:35:24 +0100
commitdcbe1717cc4e86b3d48c93da9654592ef2373073 (patch)
treecea358fc1fb1a0bc23b020fd4233c6b32ab5a7bd
parentAdded a missing header to CMakeLists. (diff)
downloadcuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar.gz
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar.bz2
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar.lz
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar.xz
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.tar.zst
cuberite-dcbe1717cc4e86b3d48c93da9654592ef2373073.zip
-rw-r--r--src/Generating/IntGen.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Generating/IntGen.h b/src/Generating/IntGen.h
index ae940232f..a0064715f 100644
--- a/src/Generating/IntGen.h
+++ b/src/Generating/IntGen.h
@@ -124,7 +124,7 @@ public:
}
- virtual void GetInts(int a_MinX, int a_MinZ, Values & a_Values) override
+ virtual void GetInts(int a_MinX, int a_MinZ, typename Values & a_Values) override
{
for (int z = 0; z < SizeZ; z++)
{
@@ -913,15 +913,15 @@ public:
{
NumOceanNeighbors += 1;
}
- if (IsBiomeOcean(Above))
+ if (IsBiomeOcean(Below))
{
NumOceanNeighbors += 1;
}
- if (IsBiomeOcean(Above))
+ if (IsBiomeOcean(Left))
{
NumOceanNeighbors += 1;
}
- if (IsBiomeOcean(Above))
+ if (IsBiomeOcean(Right))
{
NumOceanNeighbors += 1;
}