Improved TNT pickup randomisation

master
Tiger Wang 2013-11-28 18:22:13 +00:00
parent 994e1d7335
commit f9e1be0d57
1 changed files with 1 additions and 1 deletions

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