diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-02 10:20:20 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-12-02 10:20:20 +0100 |
commit | f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f (patch) | |
tree | 9784eea8d69e0a1f00a1fc2eea9e81e3e62f363e /src | |
parent | Using IntNoise3DInt instead of IntNoise3D (diff) | |
download | cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar.gz cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar.bz2 cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar.lz cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar.xz cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.tar.zst cuberite-f1177984f102e7b9c8cdc9ca5e8d9b5c67a4330f.zip |
Diffstat (limited to '')
-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 847fcbf10..092e232ab 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.IntNoise3DInt(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; |