Greatly improved TNT propulsion chances
This commit is contained in:
parent
41b8315f53
commit
d1b5f0859a
@ -1808,7 +1808,7 @@ void cChunkMap::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_
|
|||||||
if (FinalDamage > a_Entity->GetMaxHealth())
|
if (FinalDamage > a_Entity->GetMaxHealth())
|
||||||
FinalDamage = a_Entity->GetMaxHealth();
|
FinalDamage = a_Entity->GetMaxHealth();
|
||||||
else if (FinalDamage < 0)
|
else if (FinalDamage < 0)
|
||||||
return false;
|
FinalDamage = 0;
|
||||||
|
|
||||||
if (!a_Entity->IsTNT()) // Don't apply damage to other TNT entities, they should be invincible
|
if (!a_Entity->IsTNT()) // Don't apply damage to other TNT entities, they should be invincible
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user