Prevent divide by zero (#2106)
authorsofar <sofar+github@foo-projects.org>
Sun, 8 Apr 2018 16:57:00 +0000 (09:57 -0700)
committerParamat <paramat@users.noreply.github.com>
Sun, 8 Apr 2018 16:57:00 +0000 (17:57 +0100)
commit8c71f3d82604b36a17edd40bb2c0274004d92ca3
treeb848bae8ba48c8310b365e1233f46a5c5bb7b821
parent9c459e77ac943f10c74de3bdd420e07a2b8bb56f
Prevent divide by zero (#2106)

This forces all explosions to damage entities within the 1 node
range. If that needs to be disabled, the damage_radius needs to
be set to 0.
mods/tnt/init.lua