summaryrefslogtreecommitdiffstats
path: root/src/ChunkMap.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-28 19:22:13 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-28 19:22:13 +0100
commitf9e1be0d57f28c72b415c1b6cd37c1c2383c0679 (patch)
treee075a072a25600b8b22df72e973954bb11312adb /src/ChunkMap.cpp
parentMade TNT pickups spawning chance 25% (diff)
downloadcuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.gz
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.bz2
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.lz
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.xz
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.tar.zst
cuberite-f9e1be0d57f28c72b415c1b6cd37c1c2383c0679.zip
Diffstat (limited to 'src/ChunkMap.cpp')
-rw-r--r--src/ChunkMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkMap.cpp b/src/ChunkMap.cpp
index 75346f9b2..7d5b61346 100644
--- a/src/ChunkMap.cpp
+++ b/src/ChunkMap.cpp
@@ -1655,7 +1655,7 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
default:
{
- if (m_World->GetTickRandomNumber(4) == 4) // Around 25% chance of pickups
+ if (m_World->GetTickRandomNumber(100) <= 25) // 25% chance of pickups
{
cItems Drops;
cBlockHandler * Handler = BlockHandler(Block);