diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-02 09:55:25 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-02 09:55:25 +0100 |
commit | a466986f53c2bec54bc25951d05036db5a3fb2e1 (patch) | |
tree | 0e87a68f88b320f900310bfde3b5685d1d8742ef /src/Generating | |
parent | Suggestions by xoft (diff) | |
download | cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar.gz cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar.bz2 cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar.lz cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar.xz cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.tar.zst cuberite-a466986f53c2bec54bc25951d05036db5a3fb2e1.zip |
Diffstat (limited to 'src/Generating')
-rw-r--r-- | src/Generating/DungeonRoomsFinisher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/DungeonRoomsFinisher.cpp b/src/Generating/DungeonRoomsFinisher.cpp index 19ac3b8b2..847fcbf10 100644 --- a/src/Generating/DungeonRoomsFinisher.cpp +++ b/src/Generating/DungeonRoomsFinisher.cpp @@ -61,7 +61,7 @@ public: // Choose what the mobspawner will spawn. // 25% chance for a spider, 25% for a skeleton and 50% chance to get a zombie spawer. - int MobType = (a_Noise.IntNoise3D(a_OriginX, m_FloorHeight, a_OriginZ) / 7) % 100 + int MobType = (a_Noise.IntNoise3DInt(a_OriginX, m_FloorHeight, a_OriginZ) / 7) % 100 if (MobType <= 25) { m_MonsterType = mtSkeleton; |