Forgot to round the reagent explosion effect

This commit is contained in:
d3athrow
2014-03-23 13:36:07 -05:00
parent 5179cae7ab
commit 19a4210a82
4 changed files with 4 additions and 3 deletions

View File

@@ -1423,7 +1423,7 @@
#include "code\WorkInProgress\kilakk\fax.dm"
#include "code\WorkInProgress\Mini\ATM.dm"
#include "code\WorkInProgress\Mini\atmos_control.dm"
#include "code\WorkInProgress\pomf\spacepods.dm"
#include "code\WorkInProgress\pomf\spacepods\spacepods.dm"
#include "code\WorkInProgress\Ported\policetape.dm"
#include "code\WorkInProgress\SkyMarshal\officer_stuff.dm"
#include "code\WorkInProgress\SkyMarshal\Ultralight_procs.dm"

View File

@@ -0,0 +1 @@
/obj/item/device

View File

@@ -964,8 +964,8 @@ steam.start() -- spawns the effect
var/range = 0
// Clamp all values to MAX_EXPLOSION_RANGE
range = min (MAX_EXPLOSION_RANGE, light + round(amount/3))
devastation = min(1, range * 0.25) // clamps to 1 devestation for grenades
heavy = min(3, range * 0.5) // clamps to 3 heavy range for grenades
devastation = min(1, round(range * 0.25)) // clamps to 1 devestation for grenades
heavy = min(3, round(range * 0.5)) // clamps to 3 heavy range for grenades
light = min(6, range) // clamps to 6 light range for grenades
flash = range * 1.5
/*