summaryrefslogtreecommitdiffstats
path: root/source/Generating/BioGen.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-19 16:10:00 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-19 16:10:00 +0100
commitb3b96d645ef9b09338c6f93bbe95100f3ce1a57d (patch)
tree7a27c4048661ef35a81e1ac389fb7307fca486c9 /source/Generating/BioGen.h
parentUpdated bindings for new cChunkDesc functions (diff)
downloadcuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar.gz
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar.bz2
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar.lz
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar.xz
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.tar.zst
cuberite-b3b96d645ef9b09338c6f93bbe95100f3ce1a57d.zip
Diffstat (limited to '')
-rw-r--r--source/Generating/BioGen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Generating/BioGen.h b/source/Generating/BioGen.h
index 0df80967f..88ca3e438 100644
--- a/source/Generating/BioGen.h
+++ b/source/Generating/BioGen.h
@@ -183,7 +183,7 @@ protected:
float m_RiverWidthThreshold;
float m_LandBiomesSize;
- typedef int IntMap[256]; // x + 16 * z, expected trimmed into [0..255] range
+ typedef int IntMap[17 * 17]; // x + 17 * z, expected trimmed into [0..255] range
// cBiomeGen overrides:
virtual void GenBiomes(int a_ChunkX, int a_ChunkZ, cChunkDef::BiomeMap & a_BiomeMap) override;