1
0

Improved TNT pickup randomisation

This commit is contained in:
Tiger Wang 2013-11-28 18:22:13 +00:00
parent 994e1d7335
commit f9e1be0d57

View File

@ -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);